Hacker News new | ask | show | jobs
by drew-y 3866 days ago
The big thing I would like to see in Markdown editors like this is a pdf export. It'd be nice to be able to send a rendered markdown document to people without them needing to open a web browser to view it. There is a similar open source project here: https://github.com/dvcrn/markright
7 comments

It'd be nice to have it be part of the editor, but `pandoc document.md -o document.pdf` does the trick.

http://pandoc.org/getting-started.html

That's fine for a single document, but definitely doesn't work for an entire directory structure worth of Markdown files
Are you serious? Try `ls *.md | xargs -I {} pandoc {} -o {}.pdf`
Interesting - is the idea behind free markdown desktop editing with PDF export to basically replace traditional document editors like Word or Open/Libre Office?

I'm used to thinking about markdown as just a tool for lazy people (like me) to get basic HTML formatting. Particularly for Github READMEs, and the like. LaTeX is the document preparation system that I really use (largely because of publication expectations, but I'm also pretty comfy with it at this point). The learning curve is steep.

For me markdown is easier and quicker to use than WYSISWYG editors. Combined with styling from CSS you can make some really nice looking documents from it. If I where able to export to pdf I'd definitely use it instead of word.
GitHub Flavored Markdown editor with PDF export: https://github.com/srpeck/markdowned

The editor happens to fit in an HTML file <9k (excluding the behemoth browser...:).

Both of these like promising applications, but I've just been using the Atom IDE (https://atom.io/) with the "Markdown Preview" and "Markdown to PDF" packages.
I use "Markdown Preview" as well. I couldn't get "Markdown to PDF" to properly apply the styling though.
I use Ulysses (http://www.ulyssesapp.com/) but then again, it's mostly for straight up text writing. As far as I know, it doesn't support code highlighting.
We are working on PDF export - it's possible that it will be a part of the 1.0.
Any plans for front matter support?
Not open source or free ($14.95), but MarkdownPad Pro[0] has a PDF export feature.

[0] https://markdownpad.com/buy.html