Closed ioquatix closed 4 years ago
Other parsers don't support it:
irb(main):005:0> CommonMarker.render_doc("<foo:bar>\nbaz\n</foo:bar>").to_html
=> "<p><a href=\"foo:bar\">foo:bar</a>\nbaz\n</foo:bar></p>\n"
Edit: Please ignore. I'm a dummy
Some parsers already support this
~It doesn't matter what Kramdown does, since it is a Markdown renderer, not a Commonmark renderer.~
~The whole point of Commonmark is that there is one spec. Not a collection of Markdown extensions that people implement in their parsers~
The point is to show that it's feasible/possible and that some implementations do it already. It's useful to have a point of reference when considering how we evolve the spec (or not).
@ioquatix I am soooo sorry. I'm in the wrong repo...
Sorry, sorry, sorry...
@movermeyer is there a better place to make issues regarding changes to the spec?
This is for cmark, the C implementation of the spec. To raise issues regarding changes to the spec, you should start at https://talk.commonmark.org. There is also a repo commonmark/commonmark-spec, but it is better to discuss on the forum first.
@jgm I made a topic for discussion and added a PR to the spec here: https://github.com/commonmark/commonmark-spec/pull/648
It can be useful to embed tags with namespaces and have them pass through correctly.
Some parsers already support this:
Tag names and attribute names should be allowed to contain
:
.Further discussion: