< Syntax
Custom MultiMarkdown
UPDATES
over 3 years ago
Updated the scope reference in the description.
over 3 years ago
Updated the scope reference in the description.
over 3 years ago
Added links to the Custom Light and Custom Dark themes.
over 3 years ago
Updated the description with an header for the scope reference :)
over 3 years ago
Updated the description to be clearer :)
- @devsl, slsrepo.com
Markdown syntax with extended support for MultiMarkdown extensions, like footnotes, definition lists and Critic Markup.
This is an extended version of the default MultiMarkdown syntax, which includes support for custom colors for abbreviations, definition lists, glossary items, variables, metadata and other MultiMarkdown features not supported in the default MultiMarkdown syntax (images, bold italic, tables and more) while keeping it compatible with the default themes.
For example of custom made themes using this syntax check out Custom Light and Custom Dark :)
Scope Reference (for theme makers):
- Header Markup: Allows customizing each header markup separately. Scopes:
markup.heading01
-markup.heading06
, usesmarkup.heading
by default. - Escaped Line Breaks: uses
text.invisibles
by default. - Horizontal Rules:
text.multimarkdown.hr
, usesmarkup
by default. - Footnotes:
text.multimarkdown.footnote
, usesmarkup.link
by default. - Images:
text.multimarkdown.image
, usesmarkup.link
andcolor.accent01
by default. - Subscripts:
text.multimarkdown.subscript
, usesmarkup
by default. - Superscripts:
text.multimarkdown.superscript
, usesmarkup
by default. - Math:
text.multimarkdown.math
, usesmarkup
by default. - Tables:
text.multimarkdown.table
, withtext.multimarkdown.table.head
,text.multimarkdown.table.header
,text.multimarkdown.table.divider
,text.multimarkdown.table.caption
also available for specific parts. Usescolor.accent02
by default. - Metadata:
text.multimarkdown.metadata
, usescolor.accent03
by default. - Citations:
text.multimarkdown.citation
, usesmarkup.link
andcolor.accent04
by default. - Glossary definitions:
text.multimarkdown.glossary
, usesmarkup.link
andcolor.accent05
by default. - Abbreviation:
text.multimarkdown.abbreviation
, usesmarkup.link
,color.accent06
by default. - Definition Lists:
text.multimarkdown.definitionList
withtext.multimarkdown.definitionList.term
andtext.multimarkdown.defitionList.definition
for more specific highlighting. Usescolor.accent03
by default. - Metadata Variables:
text.multimarkdown.variable
, usesmarkup.link
andcode.keyword
by default. - TOC (Table of Contents):
text.multimarkdown.toc
, usescode.literal
by default.