3 ms·
Is there something like this that renders markdown to GitHub readme-style HTML?
by asimjalis 5y ago
Is there something like this that renders markdown to GitHub readme-style HTML?
- vlmutolo 5y agoPandoc + a good HTML template should get you there.
- jjjbokma 5y agoI am not sure how close pandoc comes to your requirements? https://pandoc.org/ https://pandoc.org/
- foob 5y agoThere's an open-source project called grip [1] that can render markdown to HTML that looks almost identical to the GitHub rendering. It can do either live preview or export to HTML. I use it for previewing GitHub READMEs while I edit them, and it does an excellent job for that purpose. [1] https://github.com/joeyespo/grip https://github.com/joeyespo/grip
- offbynull 5y agoI use a CSS [0] to style the rendered output from markdown-it [1]. It works pretty well for me. [0] https://github.com/sindresorhus/github-markdown-css https://github.com/sindresorhus/github-markdown-css [1] https://github.com/markdown-it/markdown-it https://github.com/markdown-it/markdown-it