shime / livedown

Live Markdown previews for your favorite editor.
MIT License
765 stars 51 forks source link

change markdown parser to showdown, enable gfm checklists #18

Closed alan7yg closed 6 years ago

alan7yg commented 8 years ago
shime commented 8 years ago

How is this better?

niftylettuce commented 6 years ago

I really like markdown-it, markdown-it-footnote, and markdown-it-checkbox for checkbox support.

niftylettuce commented 6 years ago

@shime @alan7yg please see my pull request here https://github.com/shime/livedown/pull/27.

It uses markdown-it with support for emojis, checkboxes, and permalinks (just like GitHub). It also has a cleaner API and is better suited for this.

At first I tried using https://github.com/ianks/octodown since it has support for emojis, but then I realized that it's not a real-time update (there's a 500ms+ delay before updates render in the browser, and also vim support for it wasn't as easy to set up) -- therefore I forked this repo and submitted the PR.

Please accept and release a new version!

niftylettuce commented 6 years ago

See version 2.0.0 with support for GFM checkboxes, emojis, permalinks, and more!

https://github.com/shime/livedown/pull/27#issuecomment-320188088