Closed DanRoscigno closed 5 months ago
Ah! I apologize, it works fine. I forgot that I included the hash in the URL that I was referencing. I had added the highlighting comments in a newer commit. I just updated and everything is beautiful.
My use case may interest you, I am instituting a testing procedure for the documentation for the StarRocks database. I want to source code snippets from end to end tests so that I have warning when I need to update the documentation because of a breaking change.
Thanks again!
Thanks for verifying. Closing.
I tried setting the label on this issue to feature, but I do not have permission to add labels.
With the default Docusaurus codeblocks I am able to add comments to codeblocks to indicate the start and stop of highlighted sections:
renders as:
Your code (which is wonderful and very important to me) seems to be noticing that the comments are meant to be processed but not displayed, as I do not see the comments when rendered using your package: