I'm encountering an issue in the Bitbucket wiki. Wondering if there's a workaround.
I'm using Markdown for documentation, and Creole <<toc>> elements for a table of contents page (as it allows for more fine grained control).
Unfortunately, when giving code examples in a language that uses "#" for comments, code comments are detected as titles in the TOC.
For example, a page like this:
----
Troubleshooting
Run this script to fix the config:
# Find the configuration file
...
# Fix the quotation marks
...
# Pipe into jq to validate
...
----
Shows up in the table of contents as:
- Troubleshooting
- Find the configuration file
- Fix the quotation marks
- Pipe into jq to validate
Of course, only the first one is intended to be a heading. Is there a way to fix this?