Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Export as PDF from the command line #222

Closed
ssaunier opened this issue May 15, 2018 · 3 comments
Closed

Export as PDF from the command line #222

ssaunier opened this issue May 15, 2018 · 3 comments
Labels
duplicate Supports in Marp Next The tagged issue has/would resolved in repos on @marp-team, and might close in near future.

Comments

@ssaunier
Copy link

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
Copy link

@yhatt WDYT? Is it hard to implement?

@deedubs
Copy link

deedubs commented Aug 16, 2018

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 yhatt added Supports in Marp Next The tagged issue has/would resolved in repos on @marp-team, and might close in near future. duplicate labels Aug 22, 2018
@yhatt
Copy link
Owner

yhatt commented Aug 23, 2018

We have implemented PDF export in @marp-team/marp-cli v0.0.4. 👍

@yhatt yhatt closed this as completed Aug 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate Supports in Marp Next The tagged issue has/would resolved in repos on @marp-team, and might close in near future.
Projects
None yet
Development

No branches or pull requests

4 participants