mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
some godoc cleanup:
- simplified dealing with parse errors: no need to intersperse them in the source - improve visibility of highlighted identifiers by showing them in bold R=rsc https://golang.org/cl/163051
This commit is contained in:
parent
330139e3f2
commit
9e450880e9
5 changed files with 36 additions and 109 deletions
13
lib/godoc/source.html
Normal file
13
lib/godoc/source.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<!--
|
||||
Copyright 2009 The Go Authors. All rights reserved.
|
||||
Use of this source code is governed by a BSD-style
|
||||
license that can be found in the LICENSE file.
|
||||
-->
|
||||
|
||||
{.section Error}
|
||||
<p>
|
||||
<span class="alert" style="font-size:120%">{@|html}</span>
|
||||
</p>
|
||||
{.or}
|
||||
<pre>{Source|html}</pre>
|
||||
{.end}
|
||||
Loading…
Add table
Add a link
Reference in a new issue