Paginated Tables output when exporting to PDF - keep headers? (or any table at all when generatig DOCX?)

Javier's Avatar

Javier

05 Aug, 2014 06:19 PM

HI!

I've got a .mmd file with a large table (50+ lines) that is rendered properly in Marked.

When exporting to paginated PDF, I'd like the headers of the table to repeat across pages for readability, but that's not the way it works...

Thinking to "touch up" the result in Word, I've exported to .docx and the resulting file has no tables whatsoever... Actually the .docx export option seems to be quite "dumbed down" as things like internal links, x-Refs and other features that Word supports seems to be lost in the way...

  1. Support Staff 1 Posted by Brett on 05 Aug, 2014 07:44 PM

    Brett's Avatar

    DOCX export is, at this point, essentially the same as doing an HTML
    import in Word. It's not ideal, but I'm working on a more intelligent
    system.

    Because we're just dealing with HTML files here, there is no concept of
    pagination in the original document, and page breaks aren't determined
    until the very moment the page is written to the printer/PDF. I can't
    duplicate headers based on page.

    -Brett

  2. 2 Posted by guillaume on 12 Jul, 2024 06:42 AM

    guillaume's Avatar

    Hi, just wondering if 10 years helped this topic evolve :)

    I'm using Marked 2 to create paginated pdfs. Is there now a way (maybe in my custom CSS), to have table headers repeated on each page if the table spans across multiple pages?

    Thanks!

  3. Support Staff 3 Posted by Brett on 12 Jul, 2024 12:17 PM

    Brett's Avatar

    Nothing has changed, this is not something Marked will ever be capable of. Not sure if any markdown app can do this.

    Thanks,
    Brett
    On Jul 12, 2024 at 1:42 AM -0500, guillaume <[email blocked]>, wrote:

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