sinatra / sinatra-book

Tutorial + Cookbook
http://sinatra-org-book.herokuapp.com/
673 stars 163 forks source link

prevent sinatra build comment to table of content #78

Closed hfl closed 3 years ago

hfl commented 8 years ago

when comment head no backspace, Sinatra will build it to table of content, so i add a backspace.

zzak commented 8 years ago

Since these are comments within a fenced-code block, it shouldn't be considered a heading.

This would be a bug in the markdown parser. Perhaps a dependency issue with the book app?

hfl commented 8 years ago

Yes, it is a bug of markdown parser. But, TOC display wrong.

zzak commented 3 years ago

I'd rather figure out and fix the markdown parser issue than change a bunch of comments, but 5 year mark!