How can I insert a page break?

dan's Avatar

dan

20 Mar, 2019 06:05 PM

I'm trying to use markdown to create an ebook. How can I tell it to insert a page break? I know this isn't relevant for those using markdown to create HTML files. It would be relevant for those creating a PDF, epub or similar type of output.

I've searched the forums and the Web, but haven't found how I might accomplish this.

  1. Support Staff 1 Posted by Fletcher on 21 Mar, 2019 07:22 PM

    Fletcher's Avatar

    Neither Markdown nor MultiMarkdown has a syntax for page breaks.

    You can use the native syntax for your chosen output format, whatever that may be. You can use the raw source functionality to hide that syntax in other formats:

    https://fletcher.github.io/MultiMarkdown-6/syntax/raw.html

    I don't know the ebook (I assume you are referring to ePub) syntax for page breaks off the top of my head, but suspect it involves CSS 3.

    Fletcher

    --
    Fletcher T. Penney
    Manager, Founder
    MultiMarkdown Software, LLC
    [email blocked]

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