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:
Robert Griesemer 2009-12-01 09:15:05 -08:00
parent 330139e3f2
commit 9e450880e9
5 changed files with 36 additions and 109 deletions

13
lib/godoc/source.html Normal file
View 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}