Skip to content

CommonMark compatable syntax overhaul #327

Open
@alerque

Description

@alerque

Baring a a way to use Pandoc's own internal AST for highlighting (see see #300), I've become fairly convinced that the best way forward is to gut and rebuild the syntax rules from the ground up. Given Pandoc's direction moving towards 100% CommonMark spec compatibility I suggest using this chance to target those syntax definitions, then have tweak settings that modify it for legacy Pandoc syntax.

Of course in the move to CommonMark we might also get the possibility to use the AST, but a robust set of syntax rules for CommonMark that did not depend on being able to run Pandoc in the background would be useful as well, even if that option goes forward as an even more robust alternative.

I don't think there are any other efforts at targeting CommonMark specifically yet, but I think there are better Markdown efforts in general. It might be a good time to review how they are doing it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions