Support for @page definitions | Re-occuring logo in print

||| tomas jay's Avatar

||| tomas jay

18 Apr, 2012 06:51 PM

Hi Brett,

Marked is just great.

I just wonder how I can get the most out of custom CSS for print output.
E.g. how I could tweak the CSS for a logo, re-occuring on each printed page.

Does Marked render @page (page layout definitions)?
I just tried with an image url in a @top-center section - didn't show up in Marked, neither in export to PDF nor in Print ...

Any suggestions?


  1. Support Staff 1 Posted by Brett on 18 Apr, 2012 06:57 PM

    Brett's Avatar

    Webkit doesn't recognize @page very well, so 99% of it is useless in Marked, I'm afraid.


  2. 2 Posted by tomas jay on 18 Apr, 2012 09:28 PM

    tomas jay's Avatar

    Hi Brett,

    thanks for the quick response.

    I see, all the nice print features in CSS (3) are not supported by any browser, and therefore nobody wants to bet on this horse.
    Unfortunately, because there is huge potential in it.

    Just think of companies who want their representatives to use always the same template (and not change it).
    Or marketing departments who want to publish to both, web and print.

    Maybe something for a kickstarter project ( ...


  3. 3 Posted by allantsai on 09 May, 2013 02:35 PM

    allantsai's Avatar

    I found that if I save to HTML then print using Google Chrome, I can do pagination. because Google Chrome uses it's own print dialog/system. If I try printing in any other app that uses OS X native print dialog (including Safari), this will not work.

  4. Support Staff 4 Posted by Brett on 09 May, 2013 03:04 PM

    Brett's Avatar

    You can print directly from Marked and save to PDF. Pagination is automatic.


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


? 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