Open cdemeijer opened 7 years ago
When I generate a TOC with markdown-toc the generated html comments are displayed in my BitBucket repo.
According to this answer on stackoverflow using a link label should be a portable way to generate hidden comments.
Tested the mentioned link label using the preview option of this issue.
+1
Just ran into the same issue with another git repo web viewer. Wrapping the markdown-toc tags in [comment]: # (...) would fix this. I use that "trick" for all my comments in markdown files.
[comment]: # (...)
When I generate a TOC with markdown-toc the generated html comments are displayed in my BitBucket repo.
According to this answer on stackoverflow using a link label should be a portable way to generate hidden comments.
Tested the mentioned link label using the preview option of this issue.