Skip to content

Instantly share code, notes, and snippets.

@Arty2
Last active May 27, 2024 17:43
Show Gist options
  • Save Arty2/2ec039d2f4ff31c09d750e66adc90433 to your computer and use it in GitHub Desktop.
Save Arty2/2ec039d2f4ff31c09d750e66adc90433 to your computer and use it in GitHub Desktop.
Visual Studio Code Markdown styles inspired from iAWriter
"editor.tokenColorCustomizations": {
"[Material Theme Darker]": { // replace with your dark theme
"textMateRules":[
{
"scope": [
"markup.italic.markdown",
"punctuation.definition.italic.markdown",
"punctuation.definition.bold.markdown",
"markup.bold.markdown",
"string.other.link.title.markdown",
"markup.quote.markdown",
],
"settings": {
"foreground": "#EEFFFF"
}
},
{
"scope": [
"markup.underline.link.markdown",
"markup.underline.link.image.markdown",
"punctuation.definition.string.begin.markdown",
"punctuation.definition.string.end.markdown",
"punctuation.definition.metadata.markdown",
"punctuation.definition.raw.markdown",
"markup.fenced_code.block.markdown punctuation.definition.markdown"
],
"settings": {
"foreground": "#7a7a78"
}
},
{
"scope": [
"punctuation.definition.heading.markdown",
"string.other.link.description.markdown",
"punctuation.definition.quote.begin.markdown",
"punctuation.definition.list.begin.markdown"
],
"settings": {
"foreground": "#89DDFF"
}
},
{
"scope": [
"markup.inline.raw.string.markdown",
],
"settings": {
"foreground": "#ffff88",
}
},
{
"scope": [
"meta.separator.markdown",
],
"settings": {
"foreground": "#FF00FF",
"fontStyle": "bold"
}
},
{
"scope": "punctuation.definition.heading.markdown",
"settings": {
// "foreground": "#EEFFFF",
"fontStyle": "bold"
}
},
{
"scope": [
"entity.name.section.markdown",
],
"settings": {
"foreground": "#EEFFFF",
"fontStyle": "bold"
}
},
{
"scope": "string.other.link.description.title.markdown",
"settings": {
"foreground": "#7a7a78",
"fontStyle": "italic"
}
},
{
"scope": "fenced_code.block.language.markdown",
"settings": {
// "foreground": "#FF00FF"
}
},
{
"scope": "markup.fenced_code.block.markdown",
"settings": {
// cannot force background
// "background": "#00FF00"
}
},
]
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment