Convert markdown-formatted documents to pdf, png or jpeg files without ever leaving Atom.
Just focus the window containing your markdown file and use the convert
command.
The output PDF will be styled similar to the github-flavored markdown on github.com, as well as any user styles you have added. It will appear in the same directory as the Markdown you are converting, with the same name and a different extension.
You can set parameters in the package's settings, such as page size, orientation, and output format (pdf, png or jpeg).
The HTML provided by running the markdown through marked is prepended with the css from the markdown-preview atom package. The syntax-highlights styling is pulled from the user's currently-active theme and added in the same way.
This HTML+CSS is then fed to html-pdf, which outputs the final image (pdf, png or jpeg) doc.
The package has dependencies on tree-view and markdown-preview, but since these are included in the default atom installation, you probably won't have to worry about that.
Feel free to run apm star 'markdown-pdf'
or give some feedback ๐
- @schmurphy: #11
- @NKMR6194: #51, #83
- @Nicnl: #28
- @brianchung808: #34
- @hdmi: #53
- @CumpsD: #59
- @pydolan: #72, #74
- @Galadirith: #88
If you're using Atom to develop Atom, you could use a devtools upgrade.