Modern CSS style for nicely formatted markdown exports.
- CSS 54.5%
- HTML 45.5%
| example.html | ||
| example.md | ||
| example.pdf | ||
| LICENSE | ||
| markdown.css | ||
| README.md | ||
| screenshot.png | ||
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"]
