frostming/marko

Give headers a unique ID.

Closed this issue · 1 comments

When generating a ToC from headers, JavaScript libraries all need a [static] UID (in the id field) for each header.

Perhaps hashing the header? Or, iterating through an index?

Headings will have a unique ID if you enabled the toc extension.