Markdown mode
If you also want support strikethrough
, emoji
and few other goodies, check out Github-Flavored Markdown mode.
Optionally depends on other modes for properly highlighted code blocks, and XML mode for properly highlighted inline XML blocks.
Markdown mode supports these options:
-
highlightFormatting: boolean
- Whether to separately highlight markdown meta characterts (
*[]()
etc.) (default:false
). -
maxBlockquoteDepth: boolean
- Maximum allowed blockquote nesting (default:
0
- infinite nesting). -
xml: boolean
- Whether to highlight inline XML (default:
true
). -
fencedCodeBlockHighlighting: boolean
- Whether to syntax-highlight fenced code blocks, if given mode is included, or fencedCodeBlockDefaultMode is set (default:
true
). -
fencedCodeBlockDefaultMode: string
- Mode to use for fencedCodeBlockHighlighting, if given mode is not included.
-
tokenTypeOverrides: Object
- When you want to override default token type names (e.g.
{code: "code"}
). -
allowAtxHeaderWithoutSpace: boolean
- Allow lazy headers without whitespace between hashtag and text (default:
false
).
MIME types defined: text/x-markdown
.