markdown icon indicating copy to clipboard operation
markdown copied to clipboard

Heading labels

Open Anaphory opened this issue 4 years ago • 4 comments

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?

Anaphory avatar May 20 '20 14:05 Anaphory