Add lots of snippets

This commit is contained in:
Jeremy Thomas
2017-08-30 21:33:49 +01:00
parent 08e082ae07
commit 3b0cb2ad4e
11 changed files with 107 additions and 226 deletions

View File

@@ -1,8 +1,12 @@
<div class="bd-snippet">
<div class="
bd-snippet
{% if include.horizontal %}bd-is-horizontal{% else %}bd-is-vertical{% endif %}
{% if include.size %}bd-is-{{ include.size }}{% endif %}
">
<div class="bd-snippet-preview">
{{ include.content }}
</div>
<div class="bd-snippet-code {%unless include.clipped %}highlight-full{% endunless %}">
<div class="bd-snippet-code {% unless include.clipped %}highlight-full{% endunless %}">
{% highlight html %}{{ include.content }}{% endhighlight %}
</div>
</div>