Skip to content

Commit

Permalink
better markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ZYinMD committed Dec 28, 2018
1 parent ea445b1 commit 90ec775
Showing 1 changed file with 72 additions and 3 deletions.
75 changes: 72 additions & 3 deletions syntax-highlighting-rules/markdown.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,80 @@
[
{
"name": "entity.name.section", // markdown headings, like #, ##, ###
"name": "markdown: headings",
"scope": [
"entity.name.section"
"markup.heading"
],
"settings": {
"foreground": "tag"
"foreground": "mdHeading"
}
},
{
"name": "markdown: link",
"scope": "markup.underline.link.",
"settings": {
"foreground": "mdLink"
}
},
{
"name": "markdown: numbered list",
"scope": "markup.list.numbered",
"settings": {
"foreground": "mdOL"
}
},
{
"name": "markdown: unnumbered list",
"scope": "markup.list.unnumbered",
"settings": {
"foreground": "mdUL"
}
},
{
"name": "markdown: code",
"scope": [
"markup.fenced_code.block.markdown",
"markup.inline.raw.string.markdown"
],
"settings": {
"foreground": "mdCode"
}
},
{
"name": "markdown: blockquote",
"scope": "markup.quote.markdown",
"settings": {
"foreground": "mdQuote"
}
},
{
"name": "markdown: separator",
"scope": "meta.separator.markdown",
"settings": {
"foreground": "mdSeparator"
}
},
{
"name": "markdown: italic",
"scope": "markup.italic",
"settings": {
"fontStyle": "italic",
"foreground": "mdWord"
}
},
{
"name": "markdown: bold",
"scope": "markup.bold",
"settings": {
"fontStyle": "bold",
"foreground": "mdWord"
}
},
{
"name": "markdown: bold italic",
"scope": "markup.bold markup.italic",
"settings": {
"fontStyle": "bold italic",
"foreground": "mdWord"
}
}
]

0 comments on commit 90ec775

Please sign in to comment.