You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I faced some serious lag when using the cloud service to write a Hack The Box certificate report. It'd take a second or two for words to show after I'd typed them. I only faced the issue in the Internal Network Compromise section of the design. I believe it's due to the long detailed walkthrough I've written. My detailed walkthrough is 1993 lines and 13859 words. Switching to markdown only mode has made the lag more bearable, but not entirely resolved the issue. There's still some delay.
Design: HTB CPTS Report v1.1
The text was updated successfully, but these errors were encountered:
Hi,
this is a known problem in our markdown editor implementation. Long markdown texts take some time to parse and render to HTML. With increasing text length, the parsing time also increases. Unfortunately, markdown is hard to parse incrementally (because of some strange rules in the CommonMark specification), so we have to re-parse the whole document on changes resulting in lags for long documents.
Some markdown editors implement markdown parsing while typing with (incremental) heuristics, but this approach leads to discrepancies between the editor highlighting and the rendered HTML. Because of this drawback, we decided against using (fast but inaccurate) heuristics.
Additionally, to switching to markdown-only mode, you could also try to disable spell checks. This will not solve the root cause, but it might slightly increase responsiveness.
I faced some serious lag when using the cloud service to write a Hack The Box certificate report. It'd take a second or two for words to show after I'd typed them. I only faced the issue in the Internal Network Compromise section of the design. I believe it's due to the long detailed walkthrough I've written. My detailed walkthrough is 1993 lines and 13859 words. Switching to markdown only mode has made the lag more bearable, but not entirely resolved the issue. There's still some delay.
Design: HTB CPTS Report v1.1
The text was updated successfully, but these errors were encountered: