The markdown anchors (inside <a name=".."> and in the TOC contain special characters such as . and / that are not compatible with BitBucket and some other tools. It would be great to sanitize the anchors, by replacing any slash with _ and any special character with -.
For example, given a proto com.example.test.Example, the generated anchor would be:
The markdown anchors (inside
<a name="..">
and in the TOC contain special characters such as.
and/
that are not compatible with BitBucket and some other tools. It would be great to sanitize the anchors, by replacing any slash with_
and any special character with-
.For example, given a proto
com.example.test.Example
, the generated anchor would be:And for a file com/example/test/v1/example.proto: