Sha256: 3c6020c31fe642b0ef056aad832d2f320717df6c37c8736f276b470f31bceada

Contents?: true

Size: 1.22 KB

Versions: 34

Compression:

Stored size: 1.22 KB

Contents

<h4><a href="{{link}}" target="_blank" rel="noopener">{{title}}</a></h4>
{{^has_lines}}
{{#model_file}}
<iframe class="render-viewer" width="{{width}}" height="{{height}}" src="{{content}}" sandbox="allow-scripts allow-same-origin allow-top-navigation ">
Viewer requires iframe.
</iframe>
{{/model_file}}
{{^model_file}}
<pre><code class='{{lang}}'>{{content}}</code></pre>
{{/model_file}}
{{/has_lines}}
{{#has_lines}}
{{! This is a template comment  | Sample rules for this box
<style>
pre.onebox code ol{
	margin-left:0px;
}
pre.onebox code ol .lines{
	margin-left:30px;
}
pre.onebox code ol.lines li {
	list-style-type: decimal;
	margin-left:45px;
}
pre.onebox code li{
	list-style-type: none;
	background-color:#fff;
	border-bottom:1px solid #F0F0F0;
	padding-left:5px;

}
pre.onebox code li.selected{
	background-color:#cfc
}
</style>
}}
<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}}
  This file has been truncated. <a href="{{link}}" target="_blank" rel="noopener">show original</a>
{{/truncated}}

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
onebox-2.1.2 templates/githubblob.mustache
onebox-2.1.1 templates/githubblob.mustache
onebox-2.1.0 templates/githubblob.mustache
onebox-2.0.2 templates/githubblob.mustache
onebox-2.0.1 templates/githubblob.mustache
onebox-2.0.0 templates/githubblob.mustache
onebox-1.9.30 templates/githubblob.mustache
onebox-1.9.29 templates/githubblob.mustache
onebox-1.9.28.4 templates/githubblob.mustache
onebox-1.9.28.3 templates/githubblob.mustache
onebox-1.9.28.2 templates/githubblob.mustache
onebox-1.9.28.1 templates/githubblob.mustache
onebox-1.9.28 templates/githubblob.mustache
onebox-1.9.27.2 templates/githubblob.mustache