mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:45:09 +08:00
22 lines
642 B
Plaintext
22 lines
642 B
Plaintext
<h4><a href="{{link}}" target="_blank" rel="noopener">{{title}}</a></h4>
|
|
|
|
{{^has_lines}}
|
|
<pre><code class="{{lang}}">{{content}}</code></pre>
|
|
{{/has_lines}}
|
|
|
|
{{#has_lines}}
|
|
<pre class="onebox">
|
|
<code class="{{lang}}">
|
|
<ol class="start lines" start="{{cr_results.from}}" style="counter-reset: li-counter {{cr_results.from_minus_one}} ;">
|
|
{{#lines}}
|
|
<li{{#selected}} class="selected"{{/selected}}>{{data}}</li>
|
|
{{/lines}}
|
|
</ol>
|
|
</code>
|
|
</pre>
|
|
{{/has_lines}}
|
|
|
|
{{#truncated}}
|
|
{{i18n.truncated_file}} <a href="{{link}}" target="_blank" rel="noopener">{{i18n.show_original}}</a>
|
|
{{/truncated}}
|