The generated TOC currently drops any inline formatting from the headings, which in some cases is ok, and in others makes them read very weird (as an extreme example, imagine <h2><s>deleted</s> something new</h2> which would be displayed as "deleted something new").
It would be nice if there was an option to preserve some or all formatting. An MVP would be just a boolean, but the setting could in the future take an array/set of tags too.
The generated TOC currently drops any inline formatting from the headings, which in some cases is ok, and in others makes them read very weird (as an extreme example, imagine
<h2><s>deleted</s> something new</h2>
which would be displayed as "deleted something new").It would be nice if there was an option to preserve some or all formatting. An MVP would be just a boolean, but the setting could in the future take an array/set of tags too.