Markdown Editor (CodeMirror) available modes #47
-
What are basic CodeMirror (Boost Note editor) code block modes which are available? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can find all the modes here: Type triplet backtick followed by the mode name to start a code block section for that mode and end it with a triple backtick. For example: const someJavascript = "Hello World" For the above mode 'js' together with backticks, we would write ```js const someJavascript = "Hello World" ``` |
Beta Was this translation helpful? Give feedback.
-
In latest release, the suggestion popup is available. Just type ``` and start typing your desired mode - suggestions will appear. |
Beta Was this translation helpful? Give feedback.
You can find all the modes here:
https://codemirror.net/mode/
Type triplet backtick followed by the mode name to start a code block section for that mode and end it with a triple backtick.
For example:
For the above mode 'js' together with backticks, we would write
```js
const someJavascript = "Hello World"
```