| 1 | <div class="example-wrap"> {# #} |
| 2 | {# https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag#data-nosnippet-attr |
| 3 | Do not show "1 2 3 4 5 ..." in web search results. #} |
| 4 | <div data-nosnippet><pre class="src-line-numbers"> |
| 5 | {% for line in lines.clone() %} |
| 6 | {% if embedded %} |
| 7 | <span>{{line|safe}}</span> |
| 8 | {%~ else %} |
| 9 | <a href="#{{line|safe}}" id="{{line|safe}}">{{line|safe}}</a> |
| 10 | {%~ endif %} |
| 11 | {% endfor %} |
| 12 | </pre></div> {# #} |
| 13 | <pre class="rust"> {# #} |
| 14 | <code> |
| 15 | {% if needs_expansion %} |
| 16 | <button class="expand">↕</button> |
| 17 | {% endif %} |
| 18 | {{code_html|safe}} |
| 19 | </code> {# #} |
| 20 | </pre> {# #} |
| 21 | </div> |