-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Feedback is required from experts, contributors, and/or the community before a change can be made.pkgsiteumbrellawebsite
Milestone
Description
This is an umbrella issue for syntax highlighting support in various web properties owned and maintained by the Go project
- x/pkgsite: code block in comments x/pkgsite: add support for syntax highlighting of code blocks #40952
example: https://pkg.go.dev/cloud.google.com/go/storage?tab=doc#hdr-Objects
This can be tricky without a way to distinguish code blocks and pre-formatted non-code blocks. - x/website: docs and tutorials x/website: Documentation supports code highlighting #55886
examples:
- https://go.dev/doc/tutorial/database-access
- https://go.dev/doc/effective_go
Source of these pages are html or a simplified md files. https://cs.opensource.google/go/x/website/+/master:_content/doc/ - x/playground, x/pkgsite: x/playground: support for syntax highlighting #34227 x/pkgsite: Syntax Highlight example blocks #52198 x/playground: add code highlighting #28539
examples:
- example code https://pkg.go.dev/io#example-Copy - x/tour: tour partially supports syntax highlighting but that's unmaintained. Recent language updates aren't reflected.
See x/playground: support for syntax highlighting #34227 (comment) for context.
Rebel028, bash-spbu, djrobby, smrqdt, willfaught and 17 morecherrymui and tmthrgdufukty, Rebel028 and VoxelPrismatic
Metadata
Metadata
Assignees
Labels
NeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Feedback is required from experts, contributors, and/or the community before a change can be made.pkgsiteumbrellawebsite