markdown
markdown copied to clipboard
Heading labels
Currently, \label{}
s are only generated for tables and figures, it appears. With headerAttributes=true
, headings can get HTML attributes including, according to the examples, of the shape {#foo}
which
currently have no effect other than enabling content slicing, see the
slice
option.
When writing a paper with some of its content in Markdown, it would be very nice to be able to provide internal cross-references to sections. I can, obviously, use mixed mode and provide manual \label{}
s, but given that the HTML attribute syntax already exists, is parsed and used for some purpose, wouldn't it make sense to use it (maybe optionally) also for generating heading labels?