Currently, headers create ids for intra-document linking. i.e. # Misc. is rendered as <h1 id="misc">Misc.</h1>. This allows linking to that particular header with something like page#misc. However, accessing that link as a user is quite difficult. I’d like to wrap the <h1> in an <a> (or vice-versa) so I can create links users can click on to share. I think this should be optional, if only for back-compat.
Somewhat related to this (although I’d imagine more difficult to implement) is a table of contents, which would ideally be available as an extension with a table generated after the first section, Wikipedia-style. But those are just thoughts that I’m frankly not invested in enough at the moment to work on seriously, so I won’t open a new issue (unless requested).
Currently, headers create
id
s for intra-document linking. i.e.# Misc.
is rendered as<h1 id="misc">Misc.</h1>
. This allows linking to that particular header with something likepage#misc
. However, accessing that link as a user is quite difficult. I’d like to wrap the<h1>
in an<a>
(or vice-versa) so I can create links users can click on to share. I think this should be optional, if only for back-compat.Current behavior:
Desired behavior:
Somewhat related to this (although I’d imagine more difficult to implement) is a table of contents, which would ideally be available as an extension with a table generated after the first section, Wikipedia-style. But those are just thoughts that I’m frankly not invested in enough at the moment to work on seriously, so I won’t open a new issue (unless requested).