Skip to content
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

x/pkgsite: allow short one line "code" blocks / declaration to line wrap #43368

Closed
thomasf opened this issue Dec 24, 2020 · 1 comment
Closed

x/pkgsite: allow short one line "code" blocks / declaration to line wrap #43368

thomasf opened this issue Dec 24, 2020 · 1 comment
Assignees
Labels

Comments

@thomasf
Copy link

@thomasf thomasf commented Dec 24, 2020

godoc.org does it

image

pkg.go.dev does not:

image

I don't know what metric or categories should be used to decide when to allow line wrapping because for multi line code blocks i would probably not th but I think it needs to be addressed.

@gopherbot gopherbot added the pkgsite label Dec 24, 2020
@gopherbot gopherbot added this to the Unreleased milestone Dec 24, 2020
@gopherbot
Copy link

@gopherbot gopherbot commented Dec 25, 2020

Change https://golang.org/cl/279726 mentions this issue: content: wrap functions and methods

@jamalc jamalc assigned jamalc and julieqiu and unassigned jamalc Dec 28, 2020
@jamalc jamalc added the NeedsFix label Dec 28, 2020
@jamalc jamalc modified the milestones: Unreleased, pkgsite/dochtml Dec 28, 2020
@julieqiu julieqiu changed the title x/pkgsite: allow short one line "code" blocks / declaration to line wrap. x/pkgsite: allow short one line "code" blocks / declaration to line wrap Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants