-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate wrong index for go 1.18 generic code #80
Comments
There is probably more wrong markdown generated here than just the line you point out. Looking at the other links generated, they rather tend to work by accident, because |
It's possible to have that kind of links looking fine if you put them into a code block: - [`func New[T any]() Stack[T]`](https://example.com) That would change the look slightly, but it works. EDIT: I just found a way to escape the links: - [func New[T any]\() Stack[T]](https://example.com) So the solution is to put a backslash between |
@princjef any update on this? |
One fix would be to replace
https://go.dev/play/p/MMr04QkvnTW -- although, that would be really annoying when reading in an editor. But, yeah, the Also, there's an option to replace them with some similar unicode-symbol, e.g. https://symbl.cc/en/27E6/. |
Gomarkdoc does some general escaping with |
eg:
See the following link for more examples:
https://github.com/chen3feng/contalgo/blob/decca4ca119775b6bed62a1ef5b35e76696f17f3/README.md#index
Thanks.
The text was updated successfully, but these errors were encountered: