From 89e37a77513529b40579fb1bfe6cb1125a8964ae Mon Sep 17 00:00:00 2001 From: Shogo Takata Date: Sat, 26 Mar 2022 16:11:41 +0900 Subject: [PATCH] add docs --- guide/src/format/configuration/renderers.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guide/src/format/configuration/renderers.md b/guide/src/format/configuration/renderers.md index 1aa1eef9..f1d5ee15 100644 --- a/guide/src/format/configuration/renderers.md +++ b/guide/src/format/configuration/renderers.md @@ -207,6 +207,7 @@ editable = false # allows editing the source code copyable = true # include the copy button for copying code snippets copy-js = true # includes the JavaScript for the code editor line-numbers = false # displays line numbers for editable code +runnable = true # displays a run button for rust code ``` - **editable:** Allow editing the source code. Defaults to `false`. @@ -214,6 +215,7 @@ line-numbers = false # displays line numbers for editable code - **copy-js:** Copy JavaScript files for the editor to the output directory. Defaults to `true`. - **line-numbers** Display line numbers on editable sections of code. Requires both `editable` and `copy-js` to be `true`. Defaults to `false`. +- **runnable** Displays a run button for rust code snippets. Changing this to `false` will disable the run in playground feature globally. Defaults to `true`. [Ace]: https://ace.c9.io/