Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/pkgsite: add support for syntax highlighting of code blocks #40952
What is the URL of the page with the issue?
Any containing code blocks. Example: https://pkg.go.dev/cloud.google.com/go/storage?tab=doc#hdr-Objects
What is your user agent?
What did you do?
Navigate to the page.
What did you expect to see?
Code blocks with syntax highlighting.
What did you see instead?
Code blocks as plain text.
That is a very good point I had not thought of... Might make this quite tricky(infeasible?) as there is no way today to call out what is contained in the block.(i.e. the way markdown supports "```go")