Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm the author of Markdown Here. And surprised to open HN and see it on the first page! I can answer any questions (although it's really a straightforward tool -- it does what it says on the box).


Hey Adam, you should probably avoid marked.js.

It suffers from a number of security issues [1] and it's unmaintained (or at least the maintainer is AWOL and without him new releases can't be tagged).

Markdown-it is probably a good alternative. [2]

[1]https://github.com/chjj/marked/issues?utf8=%E2%9C%93&q=is%3A...

[2]https://github.com/markdown-it/markdown-it


I started the switch to markdown-it a while ago[1]. I just need to find some time to get back to it.

[1]: https://github.com/adam-p/markdown-here/tree/markdown-it


Why did you use marked instead of markdown-it or another CommonMark-compatible parser? Have you thought about switching to a library which supports more features?


Markdown Here predates both CommonMark and markdown-it by a couple of years. marked.js was the best choice when I created MDH. That being said, I have started work on switching to markdown-it (see comment above).


If possible, you should make an outlook add-in. I would pay for that.


As would I


Hi Adam! I installed Markdown Here from the Chrome Web Store, and I noticed it installed 2.12.0. However, it looks like you released 2.13.1 on GitHub. Should I be installing from GitHub?


2.13.1 and .2 are Mozilla-specific releases, to deal with the change from XUL to WebExtensions in Firefox, while still supporting Thunderbird (and Postbox) and old Firefox (and Palemoon). I'll cut a release soon-ish to fix a couple of bugs: https://github.com/adam-p/markdown-here/blob/master/src/comm...


How could one write 64px red bold underlined "DO NOT REBOOT THE WEBSERVER!!!!!!!!!!!!!!!" with this?


I can't tell if you're kidding, but... Markdown Here gives you control over the CSS used when rendering, so you can put those loud styles on, say, H1, and then just write:

# DO NOT ET CETERA

...And then render.


Is there a way to use just the markdown -> html so that it can be used for automated sending e.g. via mandrill/sparkpost?

It looks pretty!


that... just... that doesn't make sense. why would you use a plugin that converts markdown to html in browser windows to do automated sending. There have been command line tools to convert markdown to html since the beginning (literally, first implementation by gruber). Pandoc is probably the go-to one these days but yeah, that's just.... not the right tool for the job.


There's an issue asking for this: https://github.com/adam-p/markdown-here/issues/43

It's not super high priority, but someday...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: