mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
35 lines
943 B
Plaintext
35 lines
943 B
Plaintext
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
{% include "shared/head" %}
|
||
|
<body id="{{slug}}">
|
||
|
{% include "shared/header" %}
|
||
|
|
||
|
<div class="container">
|
||
|
|
||
|
<div class="row">
|
||
|
<h1>{{headline}}</h1>
|
||
|
{% for item in body %}
|
||
|
{% if item.text %}
|
||
|
{{ item.text | markdownify }}
|
||
|
{% endif %}
|
||
|
|
||
|
{% if item.command %}
|
||
|
|
||
|
|
||
|
{% capture resultID %}{{ "result" | unique}}{% endcapture %}
|
||
|
<div class="tutorial-example">
|
||
|
<div class="accordion-heading">
|
||
|
<pre>{{item.command}}</pre>
|
||
|
<a data-toggle="collapse" href="#{{resultID}}">Show result</a>
|
||
|
</div>
|
||
|
<div id="{{resultID}}" class="accordion-body collapse"><pre>{{item.result}}</pre></div>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
</div>
|
||
|
{% include "shared/footer" %}
|
||
|
|
||
|
</body>
|
||
|
</html>
|