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

TOC ignore:true

Open Mikma03 opened this issue 3 years ago • 4 comments
trafficstars

Hi,

I believe there is a bug as following example:

  1. When I'm using ## header is ignored:
<!-- TOC ignore:true -->
## Table of c

<!-- TOC -->

- [Microsoft - Data engineering with Azure Databricks](#microsoft---data-engineering-with-azure-databricks)
- [test1](#test1)
- [test2](#test2)

<!-- /TOC -->
  1. But when I'm using one # then it will not work:
<!-- TOC ignore:true -->
# Table of c

<!-- TOC -->

- [Table of c](#table-of-c)
- [Microsoft - Data engineering with Azure Databricks](#microsoft---data-engineering-with-azure-databricks)
- [test1](#test1)
- [test2](#test2)

<!-- /TOC -->
case1 case2

Mikma03 avatar Aug 06 '22 08:08 Mikma03

I have the same issue.

cjcdev avatar Sep 25 '22 15:09 cjcdev

have same issue too

PalaNolho avatar Sep 30 '23 23:09 PalaNolho

I'm also having this issue, however I've determined that this only occurs when the ignore comment is placed above the TOC.

Otherwise it seems to work as intended.

Ratstail91 avatar Apr 24 '24 10:04 Ratstail91