Migrate from Bazel
This commit is contained in:
commit
016dbd0814
59 changed files with 7044 additions and 0 deletions
4
templates/shortcodes/img.html
Normal file
4
templates/shortcodes/img.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<figure>
|
||||
<img src="{{ src }}" alt="{{ alt | default(value=caption) | default(value='') }}"{% if class %} class="{{ class }}"{% endif %}>
|
||||
{% if caption %}<figcaption>{{ caption }}</figcaption>{% endif %}
|
||||
</figure>
|
||||
6
templates/shortcodes/mermaid.html
Normal file
6
templates/shortcodes/mermaid.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<figure>
|
||||
<div class="mermaid">
|
||||
{{ body }}
|
||||
</div>
|
||||
{% if caption %}<figcaption>{{ caption }}</figcaption>{% endif %}
|
||||
</figure>
|
||||
4
templates/shortcodes/video.html
Normal file
4
templates/shortcodes/video.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<figure>
|
||||
<video controls src="{{ src }}"{% if class %} class="{{ class }}"{% endif %}></video>
|
||||
{% if caption %}<figcaption>{{ caption }}</figcaption>{% endif %}
|
||||
</figure>
|
||||
Loading…
Add table
Add a link
Reference in a new issue