stackblitz / tutorialkit

TutorialKit by StackBlitz - Create interactive tutorials powered by the WebContainer API
https://tutorialkit.dev
MIT License
504 stars 48 forks source link

Codemirror - show syntax errors #329

Closed iliakan closed 2 months ago

iliakan commented 2 months ago

How can I enable showing syntax errors in CodeMirror? Like a normal editor.

CodeMirror has linter for this:

I'm not familiar with it, but here's an example of using it:

Do I need to patch tutorialkit, or there's a better solution?

AriPerkkio commented 2 months ago

In https://github.com/stackblitz/tutorialkit/issues/213 we'll be adding support for showing syntax errors for Javascript.