pxlrbt / markdown-css

Modern CSS style for nicely formatted markdown exports.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markdown CSS

CSS style for nicely formatted markdown exports (pdf/html)

Tested with

  • VS Code - Markdown Preview (builtin)
  • VS Code - Markdown PDF (Extension)

Setup

VS Code Markdown Preview

Add this line to your settings.json. Adjust path to your CSS file. On Windows global paths (e.g. C:\\Users\\...) seem not to work. You can upload the CSS file and include an URL as file path.

"markdown.styles": ["PATH_TO_YOUR_FILE"],

VS Code Markdown PDF

Add this line to your settings.json. Adjust path to your CSS file.

"markdown-pdf.styles": ["PATH_TO_YOUR_FILE"]

Example

Example Image

About

Modern CSS style for nicely formatted markdown exports.

License:GNU General Public License v3.0


Languages

Language:CSS 54.5%Language:HTML 45.5%