• Stars
    star
    150
  • Rank 247,323 (Top 5 %)
  • Language
    CSS
  • License
    MIT License
  • Created about 8 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Markdown styles for vscode

vscode-markdown-style

Themes are based on VSCode's markdown default styles

C:\Program Files\Microsoft VS Code\resources\app\extensions\markdown-language-features\media\markdown.css

Themes

  • Preview Theme

  • Extension Theme

    • pandoc-github.html : for vscode-pandoc extension
    • markdown-pdf.css : for MarkdownPDF extension

Usage

  • Copy css files to root of your current workspace.
  • Edit Settings.json (File > Preferences > Settings) like below :

Github style:

// Preview Settings
// Github style for all VSCode theme
"markdown.styles": [
    "github.css"
]

Light, Dark style:

// Light/Dark style for Light/Dark VSCode theme
"markdown.styles": [
    "light-default.css",
    "dark-material.css"
]

MarkdownPDF style:

// Extension - MarkdownPDF
"markdown-pdf.styles": [
    "[YOUR_PATH]/markdown-pdf.css"
]

Pandoc style:

// Extension - vscode-pandoc
"pandoc.htmlOptString": "-s -f markdown_github -t html5 -H [YOUR_PATH]/pandoc-github.html",

License

Licensed under the MIT License.