Closed ukkopahis closed 2 years ago
Currently custom anchors on are authored as inline-html:
## <a name="quickStart"></a>Quick Start
This doesn't change the autogenerated Permanent link. So in essence there are two anchors for the same thing:
Using the attribute list extension, id attributes can be added/changed by writing:
## Quick Start { #quickStart }
Resulting in:
Cleaner markdown and cleaner html: win-win!
Comments about me doing a PR of bulk-refactoring this (using sed)?
@Paraphraser hopefully such a refactoring won't bork your markdown editor? If it does, can you also test if adding the optional colon would work better, i.e.
## Quick Start {: #quickStart }
Currently custom anchors on are authored as inline-html:
This doesn't change the autogenerated Permanent link. So in essence there are two anchors for the same thing:![image](https://user-images.githubusercontent.com/95980324/166403626-d09cabbb-5191-4791-8799-88033eec69b2.png)
Using the attribute list extension, id attributes can be added/changed by writing:
Resulting in:![image](https://user-images.githubusercontent.com/95980324/166403742-6aa8b2e3-a73a-466e-800a-55f27bee2e1f.png)
Cleaner markdown and cleaner html: win-win!
Comments about me doing a PR of bulk-refactoring this (using sed)?
@Paraphraser hopefully such a refactoring won't bork your markdown editor? If it does, can you also test if adding the optional colon would work better, i.e.