Modern CSS style for nicely formatted markdown exports.
  • CSS 54.5%
  • HTML 45.5%
Find a file
2018-10-19 11:34:19 +02:00
example.html Add background color and better support for todo lists 2018-10-19 11:21:53 +02:00
example.md Add background color and better support for todo lists 2018-10-19 11:21:53 +02:00
example.pdf Add background color and better support for todo lists 2018-10-19 11:21:53 +02:00
LICENSE Initial commit 2018-10-18 16:36:51 +02:00
markdown.css Add background color and better support for todo lists 2018-10-19 11:21:53 +02:00
README.md Fix code type 2018-10-19 11:34:19 +02:00
screenshot.png Initial 2018-10-18 16:42:31 +02:00

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