Skip to content

Markdown Editor (CodeMirror) available modes #47

Discussion options

You must be logged in to vote

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:

const someJavascript = "Hello World"

For the above mode 'js' together with backticks, we would write

```js

const someJavascript = "Hello World"

```

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Komediruzecki
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant