How to use GFM mode in codemrror6

Hi, you can set the markdown parser when creating the editor state. Instead of just using markdown(), you can set the base language, which is commonmarkLanguage by default. GFM (wich a few extras) is called markdownLanguage in CM, so this should do the trick:

import { markdown, markdownLanguage } from "@codemirror/lang-markdown";

const state = EditorState.create({
  extensions: [
    markdown({ base: markdownLanguage }),
  ],
  ...
});