Skip to content

ExtensionSet.gitHub doesn't include ID extensions as documented #1387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jcollins-g opened this issue Dec 4, 2017 · 5 comments · Fixed by dart-archive/markdown#188
Closed

Comments

@jcollins-g
Copy link
Contributor

The README says that ExtensionSet.gitHub includes the extensions const SetextHeaderWithIdSyntax() and const HeaderWithIdSyntax(), but it doesn't seem to: https://github.com/dart-lang/markdown/blob/master/lib/src/extension_set.dart#L10.

@kevmoo
Copy link
Member

kevmoo commented Dec 17, 2017

My fault in dart-archive/markdown@cfbadae

@srawlins
Copy link
Member

Ugh, yeah this is annoying. Basically, GFM is a well-specified Markdown, but GitHub itself doesn't follow the spec, as it does add header anchors. Do we have an ExtensionSet.gitHubTheWebsite and an ExtensionSet.gitHubFlavored? Honest question. We want GFM proper for the JSON spec tests, but we also just want to provide the most useful ExtensionSet out of the box.

@kevmoo
Copy link
Member

kevmoo commented Dec 17, 2017 via email

@srawlins
Copy link
Member

srawlins commented Dec 18, 2017 via email

@kevmoo
Copy link
Member

kevmoo commented Dec 18, 2017

Maybe just gitHubWeb?

...and just give LOTs of comments linking to the spec, etc

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

Successfully merging a pull request may close this issue.

4 participants