Color markdown inline and code blocks

Fixes #49
This commit is contained in:
Daniel Imms
2018-05-28 06:31:22 -07:00
parent 487e53715f
commit b35c5c2023

View File

@@ -128,6 +128,8 @@ export const tokenRules: IRuleGenerator[] = [
{ color: s => s.syntax.identifier, generate: getSimpleColorGenerator('Markdown italic', 'markup.italic', FontStyle.ITALIC) },
{ color: s => s.syntax.identifier, generate: getSimpleColorGenerator('Markdown bold', 'markup.bold', FontStyle.BOLD) },
{ color: s => s.syntax.identifier, generate: getSimpleColorGenerator('Markdown bold italic', 'markup.bold markup.italic, markup.italic markup.bold', FontStyle.BOLD | FontStyle.ITALIC) },
{ color: s => s.syntax.string, generate: getSimpleColorGenerator('Markdown code block', 'markup.fenced_code.block.markdown punctuation.definition.markdown') },
{ color: s => s.syntax.string, generate: getSimpleColorGenerator('Markdown inline code', 'markup.inline.raw.string.markdown') },
/**
* Ini
*/