Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the set of export commands #311

Open
yhatt opened this issue Nov 10, 2021 · 2 comments
Open

Improve the set of export commands #311

yhatt opened this issue Nov 10, 2021 · 2 comments

Comments

@yhatt
Copy link
Member

yhatt commented Nov 10, 2021

from: #87, #203

Following commands are refreshed suggestions based on #463 (comment).

  • Export Slide Deck (Quick Export) (markdown.marp.exportQuick)
    • Create the output next to the current file.
      • If the target file was not saved, this command has the same meaning as "Export slide deck as..."
    • The format is specified in markdown.marp.exportType preference.
  • Export Slide Deck To Selected Format ... (markdown.marp.exportToSelectedFormat)
  • Export Slide Deck As ... (markdown.marp.exportAs / markdown.marp.export for backward compatibility)
    • Same as the current command Export Slide Deck....
    • Always open save dialog, and ask where to export.
    • User can choose the format in the save dialog.

#203 suggests adding an extra directive for specifying a file name in the quick export. Honestly we don't want to increase the number of directives because newbies may be overwhelmed by many directives.

Legacy suggestion
  • "Export to ***": Quick export commands ("to PDF", "to HTML", "to PPTX"). The file name is the same as current document, and it will be exported next to the document.
@infogulch
Copy link

An option that I would like is quick export to a temp file that is cleaned up later. Maybe labeled "Present with HTML" / "Present with PDF" / ...

@yhatt yhatt changed the title Quick export commands Improve the set of export commands Jan 16, 2025
@yhatt
Copy link
Member Author

yhatt commented Jan 16, 2025

The suggestion was updated that is based on #463 (comment). The legacy suggestion is corresponding to markdown.marp.exportToSelectedFormat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants