infinite loading with CPU spike

Andrew Farmer's Avatar

Andrew Farmer

23 Oct, 2016 06:02 AM

I'm writing a book with lots of code samples. My code doesn't highlight well with the highlighter that Marked uses so I pre-processed my book with my own syntax highlighter. So the book has a lot of HTML in it. I have it saved as a textbundle.

When I try to open my book in Marked, this is what I see (see attached image).

I've tried letting it finish for as many as 10 minutes, but it just keeps loading. The book worked fine previously when it didn't have no much HTML in it.

Thanks in advance for any help,

  1. Support Staff 1 Posted by Brett on 23 Oct, 2016 11:51 PM

    Brett's Avatar

    Without seeing your Markup, I would guess that you're using the
    MultiMarkdown processor and it's hanging on the amount of HTML. If
    that's the case, the easiest and most effective option would be to use
    the Discount processor (Preferences->Processor->Discount (GFM)). You
    lose some MMD features (like footnotes) though, so the other possible
    solution would be to go to Processor preferences and disable "Process
    Markdown inside of HTML" and see if that clears things up.


  2. 2 Posted by sulrich on 03 Jun, 2021 06:36 PM

    sulrich's Avatar

    i have a similar issue. though marked stays responsive. is there any way to diagnose what's causing this?

    the file of interest renders fine (except for my formatting issues) with the discount cli markdown tool.

  3. Support Staff 3 Posted by Brett on 03 Jun, 2021 07:23 PM

    Brett's Avatar

    Hi @sulrich,

    There's no easy way for you to see what might be hanging Marked up when rendering, but if you want to share an example file that causes the issue, I can help diagnose.

    Please also include the output of Help->Report an Issue

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • marked-processor-spike.png 595 KB

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