Page Break

Samuel Bechara's Avatar

Samuel Bechara

21 Oct, 2021 05:16 PM

Hello,

First off, I love Marked 2 (and your other apps) but there is one little thing that interrupts my workflow. I am a professor and I use Markdown to write my exams. Everything about Marked 2 is perfect for rendering the PDFs EXCEPT that I can't see where page breaks will occur unless I manually add a page break, or I export the paginated PDF and look at where the page breaks occur in the PDF. This isn't ideal as if there is a mistake, I need to edit the Markdown, then re-render the PDF every time there is a spacing issue.

I am not sure if it is possible to specify the paper size, and then include a UI element that lets me know when there will be a page break. This would help when I write exams immensely.

Thanks for the consideration,

Sam Bechara

  1. Support Staff 1 Posted by Brett on 22 Oct, 2021 11:05 PM

    Brett's Avatar

    Marked doesn’t write the PDF pages itself, it uses WebKit’s print system. Unfortunately there’s no way to calculate where the print system will put the page breaks accurately, and it varies based on your preview style and font sizes, plus some styles have different settings for print vs on screen preview.

    I’d like to do this eventually, but it’s a big undertaking.

    - Brett

  2. 2 Posted by Sam Bechara on 23 Oct, 2021 02:35 PM

    Sam Bechara's Avatar

    Cool, thanks for the explanation Brett. I understand, just thought I'd throw that out there. Thanks for such a great product anyway.

    Sam

    -------- Original Message --------

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac