Open winniehell opened 9 years ago
The special case that content of HTML tags should not occur in the anchors either like in the following, can wait for special syntax in my opinion:
## <i class="material-icons">settings_input_component</i> Settings
There is a CommonMark discussion about HTML attributes in Markdown and kramdown already supports it.
Using aglio
2.0.4
with olio1.2.1
, the followingleads to the following HTML
Though the generated anchors are straight forward, the following seems more natural to me:
so that you can refer to
Important Stuff
by#important-stuff
and toBar
by#header-bar
In my opinion HTML tags and their attributes should be ignored when generating anchors.