Location of Default CSSs

enrico.scarpella's Avatar

enrico.scarpella

24 Nov, 2018 10:36 PM

Dear Brett,

I was wondering where I could find the default CSSs that come with Marked 2: I would like to make a copy of the Manuscript one, modify it and save it among my Custom CSS. Thank you for your consideration.

Best regards,
Enrico

  1. Support Staff 1 Posted by Brett on 25 Nov, 2018 01:04 AM

    Brett's Avatar
  2. 2 Posted by enrico.scarpell... on 26 Nov, 2018 10:51 PM

    enrico.scarpella's Avatar

    Dear Brett,

    Thank you very much for the prompt and helpful reply.

    How silly of me: the information I was looking for was in your reply to the Nov 16 "Editing a built-in CSS style" question -- most gracious of you not to point that out in your reply to me...

    Best regards,
    Enrico

  3. Support Staff 3 Posted by Brett on 26 Nov, 2018 10:52 PM

    Brett's Avatar

    I try to be sweet when doing customer support :).

    - Brett

  4. 4 Posted by enrico.scarpell... on 11 Dec, 2018 11:28 PM

    enrico.scarpella's Avatar

    Dear Brett,

    Unfortunately, it seems the Manuscript CSS that is on GitHub is not the same that is in my Marked 2 (Version 2.5.27 (964)) – e.g., headers are styled differently, line spacing is different, margins are different. Would it be possible to know where the Manuscript CSS that is used by Marked 2 is stored on my computer, so that I could duplicate it, move the duplicate to my Customs CSS folder and modify it to my needs? Thank you for your consideration.

    Best regards,
    Enrico

  5. Support Staff 5 Posted by Brett on 12 Dec, 2018 02:25 PM

    Brett's Avatar

    There may have been modifications since the GitHub repo was last
    updated. The version in Marked is compressed and won't be of much use to
    you as an editable style sheet. I'll update the repository when I get a
    chance, but in the meantime you might consider just using the Additional
    CSS field under Preferences->Style to add global styles. You can target
    just the manuscript style by including the body tag .manuscript, e.g.:

    .manuscript #wrapper p { line-height: 2; }

    -Brett

  6. 6 Posted by enrico.scarpell... on 12 Dec, 2018 09:56 PM

    enrico.scarpella's Avatar

    Thank you very much for the prompt clarification, Brett, and for the very helpful suggestion!

    Best regards,
    Enrico

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