x/pkgsite: markdown is broken in my readme.md #40607
What is the URL of the page with the issue?
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4222.0 Safari/537.36
What did you do?
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered:
This is related to #39297. In particular, the README in https://pkg.go.dev/mod/github.com/tachyon-protocol/goVsysSdk@v0.1.0 doesn't have a space/newline before the fenced code block, causing blackfriday to not detect this as a code block.
Using the same code I posted in the linked issue above with minor tweaks, I managed to confirm that this is indeed the case, and that adding a newline before the fenced code block will allow blackfriday to correctly detect and render the code block. I also tried using goldmark on the readme without adding the space/newline before the code block, and goldmark still correctly identified and rendered the code block.