Freezing when clicking to edit "Additional CSS"

daniel's Avatar

daniel

10 Aug, 2024 09:14 PM

I've configured my preferences in Marked 2 to include some additional CSS. I don't remember what I added – I made these edits many months ago. I can't change the additional CSS without Marked 2 freezing. It freezes as soon as I click the "Edit CSS" button, before the little popup window with the CSS code opens, so I can't even see what I've added, much less make changes to it. Is there a way to view/edit my additional CSS without freezing the app? Perhaps there's an "hidden" way to edit the additional CSS from the command line or a preference file somewhere?

  1. 1 Posted by daniel on 26 Aug, 2024 11:25 PM

    daniel's Avatar

    following up on this... any clue for solutions?

    Using a utility called PrefsEditor, I was able to inspect my current Additional CSS outside the Marked app. Here is what I have:

    span.citation {
        color: gray;
    }
    
    [role=doc-biblioref] {
        color: gray;
    }
    
    h4 {text-align: center; font-weight: normal;}
    
    blockquote {
        margin-left: -1em;
        margin-right: 0em;
        border-left: 2px grey dotted;
        padding-left: 1em;
    }
    
    blockquote > p {
        text-indent: 2ch;
        font-family: -apple-system-ui-serif, ui-serif, 'Georgia', serif;
        text-align: justify;
        font-style: normal;
        line-height: 1.4em;
    }
    
    #wrapper {
        padding-left: 0px;
        padding-right: 0px;
    }
    
  2. Support Staff 2 Posted by Brett on 27 Aug, 2024 04:25 PM

    Brett's Avatar

    I haven't run into this myself, but you might try using PrefsEditor to completely delete that key and see if the Additional CSS window will then open. I don't think the issue has anything to do with the content of your CSS, but I have no idea what's choking the app. I've tested with your CSS content and the window doesn't fail to open for me...

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