Expand all manual examples in print mode

This commit is contained in:
David Tolnay committed 2015-08-19 23:27:10 -07:00
1 parent 2c6c521799
commit 7668a4f255
3 files changed
+11 -4

No files matched your search

+2 -2
View File
@@ -48,9 +48,9 @@
<i class="glyphicon glyphicon-chevron-right"></i>
{% if entry.examples[1] %}Examples{%else%}Example{%endif%}
</a>
<div id="example{{exampleID}}" class="collapse">
<div id="example{{exampleID}}" class="manual-example collapse">
{% for example in entry.examples %}
<table class="manual-example">
<table>
<tr><th></th><td class="jqprogram">jq '{{example.program | escape}}'</td></tr>
<tr><th>Input</th><td>{{example.input | escape}}</td></tr>
{% unless example.output[0] %}