Open catscarlet opened 1 week ago
The underlying problem here is that Pulsar does some magic for each embedded code block in the Markdown. That magic needs to go async. A large Promise.all
is set up to aggregate all the promises over the entire file, but some of them never resolve. The ones that don't resolve seem to be the TextMate-style grammars — in my experiments, plain text and CoffeeScript didn't resolve.
(This is a note to my future self.)
Thanks in advance for your bug report!
What happened?
This is a good-old-classic bug since 2018. See this: atom/markdown-preview#552
The "Save As HTML" and "Copy As HTML" functionalities in the MarkDown preview doesn't work anymore if your file has a fenced code block.
It seems that the problem began since 2018 v1.32.0 of Atom, and it is still there in Pulsar nowadays.
Pulsar version
1.118.0
Which OS does this happen on?
🐧 Debian based (Linux Mint, Ubuntu, etc.)
OS details
Linux Mint 20.3 (based on Ubuntu 20.04)
Which CPU architecture are you running this on?
x86_64/AMD64
What steps are needed to reproduce this?