Joplin 1.0.216 (prod, darwin)
Client ID: 6f19d2068d784848aa561b4780922135
Sync Version: 1
Profile Version: 29
Revision: 4eb680d (master)
```typescript [
Joplin will be locked, the menus will still open, but nothing will work.
Reopening Joplin will result in same behaviour as the current document is the first thing to open.
Would expect UI to still be responsive
I discovered this while adding a css code block to a large document, as soon as I opened the block, Joplin froze.
To workaround the problem:
brew cask install db-browser-for-sqliteopen ~/.config/joplindev-desktop/ in terminal, and then double-click on the DB.notes table, find the body field of document, add closing ``` to offending sectionApply buttonIn my specific case the doc looked like this before I fixed it:
@import '~material-design-icons/iconfont/material-icons'; ```typescript // imports: [
And this once fixed using the DB method:
@import '~material-design-icons/iconfont/material-icons';// imports: [
Reported upstream: https://github.com/markdown-it/markdown-it/issues/676
This problem is caused not by markdown-it itself, but by optional third-party code highlighter.
If you upgrade highlight.js 9 => 10, that helps. Note, v10 is breaking release (with some languages rename and other changes).
Unfortunately, i can guarantee "no serious bugs" only for standalone markdown-it, not for highlighter. I'd recommend reduce list of supported languages to minimal possible set, if you can.
PS. Thank you for report!
Thanks for the info @puzrin, installing hljs 10 indeed fixed the issue!