Tehnix / vscode-tidymarkdown

VS Code formatter using tidymarkdown
https://marketplace.visualstudio.com/items?itemName=tehnix.vscode-tidymarkdown
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

The formatter doesn't really like or allow html tags, like essential <a> tag with ID for bookmark links #6

Open 2art opened 4 weeks ago

2art commented 4 weeks ago

HTML tags break formatting. The formatter is keen on modifying all <a> tags to [](), or at least adding newlines before and after underline tags. However, I want an <a> tag with an ID, so I can do [Bookmark](idoftheatag).

Example:

(Higher up) See [Notes](#notes)

(Lower) ### <u><a id="notes"></a>Local Notes</a></u>

Formatting this results in:

### <u><a id="notes">
</a>Local Notes</u>