You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
<aname="com-example-test-example"></a>
And for a file com/example/test/v1/example.proto:
<aname="com_example_test_v1_example-proto">
The text was updated successfully, but these errors were encountered:
derlin
added a commit
to derlin/protoc-gen-doc
that referenced
this issue
Oct 13, 2021
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:
The text was updated successfully, but these errors were encountered: