CSS Clasees and ID for style sheets

david.r.calvert's Avatar

david.r.calvert

05 Sep, 2016 08:10 PM

Does the style sheets used in Marked 2 allow one to apply css styles to specific areas by suing css classes and id for print purposes like outputs for pdf and docx, etc?

If so where can one start?

Thanks,

David

  1. Support Staff 1 Posted by Brett on 05 Sep, 2016 10:03 PM

    Brett's Avatar

    You can affect the CSS for print/paginated PDF output using @media
    queries, e.g. the following would apply rules only to those two output
    formats:

    @media print {
    [rules]
    }

    Beyond that, no, there's no differentiation in the stylesheets between
    output formats at this point.

    -Brett

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