diff options
| author | Alberto Donizetti <alb.donizetti@gmail.com> | 2018-07-04 10:13:00 +0200 |
|---|---|---|
| committer | Alberto Donizetti <alb.donizetti@gmail.com> | 2018-07-06 08:46:43 +0000 |
| commit | 48b81741b67f44ae17412be74b7be2cecd25f933 (patch) | |
| tree | dafc0189060251a2f6c37d1a78d5146a1798dc8f | |
| parent | cc4a29fada9d538a3b111835583411eeb6a38d2f (diff) | |
| download | golang-id-tour-48b81741b67f44ae17412be74b7be2cecd25f933.tar.xz | |
tour: use better wording to explain run/format keyboard shortcuts
Fixes golang/tour#526
Change-Id: I2338cf6d06dd8756dcb81a88453558c5b2de2257
Reviewed-on: https://go-review.googlesource.com/122097
Reviewed-by: Daniel Martà <mvdan@mvdan.cc>
| -rw-r--r-- | content/welcome.article | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/welcome.article b/content/welcome.article index 2b1eda9..856f9fa 100644 --- a/content/welcome.article +++ b/content/welcome.article @@ -24,8 +24,8 @@ You can navigate through them using - [[javascript:highlight(".next-page")]["next"]] or `PageDown` to go to the next page. The tour is interactive. Click the -[[javascript:highlightAndClick("#run")][Run]] button now -(or type `shift-enter`) to compile and run the program on +[[javascript:highlightAndClick("#run")][Run]] button now +(or press `Shift` + `Enter`) to compile and run the program on #appengine: a remote server. your computer. The result is displayed below the code. @@ -34,8 +34,8 @@ These example programs demonstrate different aspects of Go. The programs in the Edit the program and run it again. -Note that when you click on [[javascript:highlightAndClick("#format")][Format]] or `ctrl-enter` -the text in the editor is formatted using the +When you click on [[javascript:highlightAndClick("#format")][Format]] +(shortcut: `Ctrl` + `Enter`), the text in the editor is formatted using the [[https://golang.org/cmd/gofmt/][gofmt]] tool. You can switch syntax highlighting on and off by clicking on the [[javascript:highlightAndClick(".syntax-checkbox")][syntax]] button. |
