You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What does 'go version' print?
go version go1.3 darwin/amd64
present version?
$ hg id -i
2b0e5133d4f3+
What steps reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Create presentation include `.code -numbers x.go`
2. Run present
Content demonstrating this can be found here:
https://gist.github.com/mschoch/6d974ef1cb0e0874164a
What happened?
Observe that line numbers are not shown.
What should have happened instead?
Line numbers should be shown.
Please provide any additional information below.
I have worked around the problem by adding custom css to styles.css:
.numbers span:before {
content: attr(num);
color: gray;
display: block;
float: left;
width: 2em;
}
The text was updated successfully, but these errors were encountered:
rsc
changed the title
present: .code -numbers does not actually show line numbers as described in go docs
x/tools/cmd/present: .code -numbers does not actually show line numbers as described in go docs
Apr 14, 2015
by marty.schoch:
The text was updated successfully, but these errors were encountered: