-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/cmd/godoc: Current online source code site makes it difficult to copy blocks of code #9042
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
Labels
Milestone
Comments
Comment 2 by mark@wolfe.id.au: Started trying to fix this myself by moving the code into a table and putting the line numbers in one column, and code in another however as soon as I change tags they aren't emitted. And I have NO IDEA why!? Currently using the code layout on https://bitbucket.org as a starting point as it is neat and simple, and has the desired behaviour. |
Comment 3 by mark@wolfe.id.au: After some work to make this work while retaining styling for code in other places I have a patch which demonstrates the new view. This supports just copying the code. Note: This will require you to run bake.sh to regenerate static.go under code.google.com/p/go.tools/godoc/static. Cheers Attachments:
|
Hi Mark, I'm sorry but we cannot accept patches via the issue tracker, please follow the contribution guidelines here, http://golang.org/doc/contribute.html |
Comment 5 by mark@wolfe.id.au: I have submitted a patch for this https://golang.org/cl/169300043/ |
Same as #18279, fixed by golang/tools@0a14ca4. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by mark@wolfe.id.au:
The text was updated successfully, but these errors were encountered: