"Export to PDF..." only on selected text

Use case or problem

I have a large markdown file and only want to export a part of it to a PDF.

Proposed solution

To the “Export to PDF…” pop-up box, add a toggle “Only export selected text”. The workflow for the user is then to:

  • Select / highlight text that she/he wants to export to PDF.
  • Bring up the “Export to PDF…” pop-up box.
  • Enable the “Only export selected text” toggle.
  • Click “Export to PDF”.

Current workaround (optional)

I currently copy the text I want to export, create a new markdown file, paste the text in the new file, and export the new file.

1 Like