mirror of
https://github.com/golang/go
synced 2024-11-25 03:27:58 -07:00
e97a55810f
Fixes #2532 R=golang-dev, dr.volker.dobler, rsc CC=golang-dev https://golang.org/cl/5450115
15 lines
322 B
HTML
15 lines
322 B
HTML
<div class="example">
|
|
<div class="collapsed">
|
|
<p class="exampleHeading">▹ Example</p>
|
|
</div>
|
|
<div class="expanded">
|
|
<p class="exampleHeading">▾ Example</p>
|
|
<p>Code:</p>
|
|
<pre class="code">{{.Code}}</pre>
|
|
{{if .Output}}
|
|
<p>Output:</p>
|
|
<pre class="output">{{html .Output}}</pre>
|
|
{{end}}
|
|
</div>
|
|
</div>
|