There's a good chance this is over-complicated, because it was largely LLM-generated. Resources / potentially helpful things to look at * https://microsoft.github.io/monaco-editor/playground.html?source=v0.52.2#example-interacting-with-the-editor-rendering-glyphs-in-the-margin * https://www.npmjs.com/package/monaco-marker-data-provider
There's a good chance this is over-complicated, because it was largely LLM-generated.
Resources / potentially helpful things to look at