Skip to content

Add xml-markdown and html support to CodeMirror bundle - #2746

Open
GuntherRademacher wants to merge 3 commits into
BaseXdb:mainfrom
GuntherRademacher:xml-markdown-mix
Open

Add xml-markdown and html support to CodeMirror bundle#2746
GuntherRademacher wants to merge 3 commits into
BaseXdb:mainfrom
GuntherRademacher:xml-markdown-mix

Conversation

@GuntherRademacher

@GuntherRademacher GuntherRademacher commented Aug 26, 2026

Copy link
Copy Markdown
Member

cm6.js has been updated with language support for

  • xml-markdown for mixed mode editing, XML with Markdown islands
  • html for HTML

As the CodeMirror language support for Markdown also brings in HTML, html has been added as a first class language, which will be selected when file extensions are .html or .htm, or when sniffing of unnamed content detects a doctype declaration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant