arturadib / strapdown

Instant and elegant Markdown documents in the browser
http://strapdownjs.com
MIT License
2.48k stars 410 forks source link

GitHub Theme #70

Open calvinjuarez opened 8 years ago

calvinjuarez commented 8 years ago

It'd be rad to have a theme that looks like a README.md looks here on GitHub.com. Maybe with https://github.com/sindresorhus/github-markdown-css or something.

challe commented 7 years ago

I just made this work locally by downloading the github-markdown.css from https://github.com/sindresorhus/github-markdown-css, renamed it github.min.css and added it to the themes folder. Then you can use theme="github" on the xmp tag. For the CSS to work you need to add a markdown-body class to the html tag.