markdown-toc icon indicating copy to clipboard operation
markdown-toc copied to clipboard

TOC comments show up in BitBucket markdown

Open cdemeijer opened this issue 8 years ago • 2 comments

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. [//]: # (this is a hidden comment that does not show up in the preview)

cdemeijer avatar Dec 07 '16 12:12 cdemeijer

+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.

stefanb2 avatar Jun 05 '17 15:06 stefanb2

+1

PatrykMilewski avatar Nov 20 '18 11:11 PatrykMilewski