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

Parsing for titles not aware of code blocks (misparses #ifdef as section)

Open cbuschardt opened this issue 8 years ago • 1 comments

The following markdown will erroneously create a section titled "ifndef FOO". Please correct the parser to ignore the contents of ...

# ifndef FOO

cbuschardt avatar Mar 29 '16 23:03 cbuschardt

Had the same problem on steroids, giving that my doc had code blocks in... markdown!!

## Example title

quasipedia avatar Jul 01 '16 13:07 quasipedia