/**
 * Markdown language support for CodeMirror 6
 * Wraps @codemirror/lang-markdown
 */

import { markdown as cmMarkdown } from '@codemirror/lang-markdown'
import { type LanguageSupport } from '@codemirror/language'

/** Markdown language support for CodeMirror */
export function markdown(): LanguageSupport {
  return cmMarkdown()
}
