MultiMarkdown-4 icon indicating copy to clipboard operation
MultiMarkdown-4 copied to clipboard

Compile JavaScript library?

Open devinrhode2 opened this issue 12 years ago • 5 comments

Why not use Emscripten to produce a super high-performance markdown javascript library for the browser? Could end up being used on StackOverflow and Github! ;)

devinrhode2 avatar Sep 30 '13 07:09 devinrhode2

Looks interesting. I'm not sure I have time to dive into this, but it seems as though this should be theoretically possible for someone who needs MMD in Javascript (I don't).

fletcher avatar Sep 30 '13 20:09 fletcher

Would surely help to further spread MultiMarkdown. Lots of Markdown editors popup more and more -- as web apps. I just stumbled upon the Javascript based Brackets editor which seems to be highly popular among web developers and some guy from Adobe developed a Markdown extension for it: https://github.com/gruehle/MarkdownPreview

metawops avatar Feb 12 '14 22:02 metawops

Have at it!

;)

fletcher avatar Feb 13 '14 00:02 fletcher

FYI gentlemen I have a working port of MMD4 in JS, compiled using Emscripten here: https://github.com/dtjm/plaintext.js. It's not totally polished yet (documentation needs to be fixed) but it works. The library is designed to be an abstraction over multiple plaintext formats, so it covers more than just MMD.

dtjm avatar Dec 06 '14 00:12 dtjm

Thanks for sharing!

fletcher avatar Dec 07 '14 14:12 fletcher