It looks we have a parameter to disable “non tight lists” in Markdown:
/// By default, when pressing enter in a blank second item in a
/// tight (no blank lines between items) list, the command will
/// insert a blank line above that item, starting a non-tight list.
/// Set this to false to disable this behavior.
nonTightLists?: boolean
However, this seems only controls whether we will create a non-tight list, if you’re already in a non-tight list structure, line 169 doesn’t seem to respect the configuration: https://code.haverbeke.berlin/codemirror/lang-markdown/src/branch/main/src/commands.ts#L169
Do you think if the nonTightList function should also honor the configuration? Thanks!