Closed apatniv closed 3 years ago
I don't think it's worth it. If you specify a marker then that's the marker verbatim. Whitespace inside it is significant and should not be stripped, if anything to reduce complexity of the implementation.
@badboy No problems. Thanks you for the feedback.
Thank you creating a very useful crate for generating toc.
The code expects that user type in exactly
<!-- toc -->
verbatim and if there any spaces after/before toc, it is not recognized as marker.For example, this is not recognized as marker
I am more than happy to do the changes if you feel if this improves the user experience.