`@codemirror/lang-markdown` with `@codemirror/legacy-modes`

how do i use the @codemirror/lang-legacy-modes with lang-markdown’s codeLanguages option.
Is there any sample code or document?

Via @codemirror/language-data. See here for an example.

1 Like

Thanks for your quick response!! i didn’t know about the @codemirror/language-data.