doc: fix minor formatting issues in contribute.html

- remove <code> from <pre>
- replace `` with <code></code>

Change-Id: I46f0aec8b7645e2ac8cb53bca73aed55441acd65
Reviewed-on: https://go-review.googlesource.com/42612
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Adam Bender 2017-05-03 18:57:40 -07:00 committed by Brad Fitzpatrick
parent 71e63fa44f
commit 9dd70591c5

View file

@ -305,10 +305,10 @@ Go to a directory where you want the source to appear and run the following
command in a terminal. command in a terminal.
</p> </p>
<pre><code> <pre>
$ git clone https://go.googlesource.com/go $ git clone https://go.googlesource.com/go
$ cd go $ cd go
</code></pre> </pre>
<h3 id="master">Contributing to the main Go tree</h3> <h3 id="master">Contributing to the main Go tree</h3>
@ -396,8 +396,9 @@ and
<p> <p>
Once you have the changes queued up, you will want to commit them. Once you have the changes queued up, you will want to commit them.
In the Go contribution workflow this is done with a `git change` command, In the Go contribution workflow this is done with a <code>git</code>
which creates a local branch and commits the changes directly to that local branch. <code>change</code> command, which creates a local branch and commits the changes
directly to that local branch.
</p> </p>
<pre> <pre>
@ -418,9 +419,9 @@ then <code>git</code> <code>commit</code>.)
</p> </p>
<p> <p>
As the `git commit` is the final step, Git will open an editor to ask for a As the <code>git</code> <code>commit</code> is the final step, Git will open an
commit message. editor to ask for a commit message. (It uses the editor named by
(It uses the editor named by the <code>$EDITOR</code> environment variable, the <code>$EDITOR</code> environment variable,
<code>vi</code> by default.) <code>vi</code> by default.)
The file will look like: The file will look like: