The title should be relatively straightforward, but is it possible to set the id
of, say, a header in your question/answer?
That is, is it possible to get ## some header
to render as <h2 id="some-id">some header</h2>
? I know the Markdown converter kramdown
allows one to do this like:
## some header {: id="some-id"}
The use case would be providing an easier way to jump around a very long question/answer where only some aspects of the question/answer might be relevant for future users of the site.
If this does not exist, it might be a useful feature to implement. For example, I just answered a question about knitr
and TikZDevice
where the main problem raised in the question—setting font sizes with TikZDevice
via knitr
— was addressed late in the answer because the question also demonstrated some problems with LaTeX code and beamer
which had to be addressed first. However, since many future users might only need to look at the part about font sizes, knitr
, and TikZDevice
it would be useful if there was an easy to have them jump directly to that bit of the answer. This would be in line with the idea of making this site a repository of knowledge, rather than a 'mere' Q&A forum.
Thus, if this feature doesn't exist, I guess this is a feature-request.