Closed matloob closed 8 months ago
The spec is full of lies:
input | GitHub |
---|---|
xhttps://go.dev |
xhttps://go.dev |
0https://go.dev |
0https://go.dev |
%https://go.dev |
%https://go.dev |
αhttps://go.dev |
αhttps://go.dev |
[https://go.dev |
[https://go.dev |
\[https://go.dev |
[https://go.dev |
It is pretty funny that you can have an autolink after a 0 or α or % but not [.
How many of these did you find? I am inclined to leave [https://go.dev] auto-linking, unless people have adopted an idiom of writing [url] to mean "do not link".
I think I saw just one or two on the sample I looked at. I'm okay with leaving this as is
Please reopen if anything changes.
From the gfm spec:
Here's a go program that runs markdown and goldmark on the following input: https://go.dev/play/p/kTjBshQ82iQ
Rendered in github as
[https://golang.org]
The output of the program is