Markdown Editor (CodeMirror) available modes #1234
Answered
by
Komediruzecki
Komediruzecki
asked this question in
Q&A
-
What are basic CodeMirror (Boost Note editor) code block modes which are available? |
Beta Was this translation helpful? Give feedback.
Answered by
Komediruzecki
Sep 26, 2021
Replies: 1 comment
-
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.
0 replies
Answer selected by
Komediruzecki
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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"
```