Export as PDF from the command line
ssaunier opened this issue ยท 3 comments
ssaunier commented
Hi there ๐
First of all, marp is an amazing tool, can't wait to see its reboot released ๐ !
This is more a feature request than a bug report. Would it be possible to add a feature to automatically export as a PDF a .md
file using the relevant command line flags?
We can already a open a .md
file with (on macOS):
/Applications/Marp.app/Contents/MacOS/Marp example.md
The API would look like something like this:
alias marp="/Applications/Marp.app/Contents/MacOS/Marp"
marp example.md --pdf # would produce example.pdf
marp example.md --pdf=output/other_name.pdf
Is this something planned?
Thank you!
fabriciofx commented
@yhatt WDYT? Is it hard to implement?
deedubs commented
I believe this will skip this pre-release version of Marp and be implemented directly in marp-team/marp-cli if its not already!
yhatt commented
We have implemented PDF export in @marp-team/marp-cli v0.0.4. ๐