jekyll-toc-generator icon indicating copy to clipboard operation
jekyll-toc-generator copied to clipboard

[BUG] Includes code-block-comments as TOC entries

Open matthiasbeyer opened this issue 10 years ago • 3 comments
trafficstars

I included a github gist in my page. The ruby-code comments are recognized as headings.

I don't know why, but I hope you can fix this.

matthiasbeyer avatar Sep 23 '15 20:09 matthiasbeyer

I'm sorry but I'm unable to find your gist, may you post the link?

dafi avatar Sep 25 '15 06:09 dafi

I guess it doesn't matter which gist, as long as ruby-like comments are used (starting with #).

matthiasbeyer avatar Sep 25 '15 06:09 matthiasbeyer

Okay, it seems that the markdown parser generates invalid HTML out of the noscript-fallback of the gist. I will fix my html errors now and report back whether the issue still exists.

matthiasbeyer avatar Sep 28 '15 17:09 matthiasbeyer