You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like this idea, because I'm always forgetting to put IDs, or even just the octothorp (#), in my headers when using contents lists. But I wonder if a more concise/systematic ID pattern could be generated instead of the actual header text, which can potentially be several words in length)?
For example, hnnnnn, where nnnnn is a random-generated string of numbers?
<h1 id="h40603">Header</h1>
Or something similar. Just a thought.
On second thought, my idea is bad. I often have constant elements in my article (e.g. Preface, Endnotes, whatever) with CSS all set up and I'd not want to wreck that with random ID values. But I'm still not crazy about the potential for a really long ID value either. Don't know.
Is your feature request related to a problem?
feature request
What is the feature?
Instead of having to write
h1(#header). Header
it would be more convenient if any
h1. Header
phrase was parsed as
<h1 id="header">Header</h1>
.The reason for this request is that having an
id
in every header tag would enable creating a table of contents much more easilyThe text was updated successfully, but these errors were encountered: