Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

XHTML files have no syntax highlighting #785

@peterflynn

Description

@peterflynn
  1. Open an .xhtml file

Result: no code coloring

I know technically XHTML is a slightly different format from HTML, but it's close enough that it feels like maybe we should support it sooner than other formats.

CodeMirror already has general XML highlighting, so we could use that -- but it wouldn't highlight embedded JS and CSS. To do it right, we'd want an "xhtmlmixed" variant of the current "htmlmixed" mode (we could just extend "htmlmixed" to take a flag for this).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions