infinite loading with CPU spike
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,
Andrew
- marked-processor-spike.png 595 KB
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
Support Staff 1 Posted by Brett on 23 Oct, 2016 11:51 PM
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.
-Brett
2 Posted by sulrich on 03 Jun, 2021 06:36 PM
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.
Support Staff 3 Posted by Brett on 03 Jun, 2021 07:23 PM
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