mirror of
https://github.com/golang/go
synced 2024-11-21 21:54:40 -07:00
1e5aecf6ce
Fixes #2467. Fixes #2464. R=golang-dev, rsc, adg CC=golang-dev https://golang.org/cl/5447051
15 lines
336 B
HTML
15 lines
336 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>
|
|
<p class="code"><pre>{{.Code}}</pre></p>
|
|
{{if .Output}}
|
|
<p>Output:</p>
|
|
<p class="output"><pre>{{html .Output}}</pre></p>
|
|
{{end}}
|
|
</div>
|
|
</div>
|