setup the basic thing atleast
This commit is contained in:
1
themes/anatole-zola/templates/shortcodes/asciinema.html
Normal file
1
themes/anatole-zola/templates/shortcodes/asciinema.html
Normal file
@@ -0,0 +1 @@
|
||||
<script id="asciicast-{{id}}" src="https://asciinema.org/a/{{id}}.js" async></script>
|
1
themes/anatole-zola/templates/shortcodes/bilibili.html
Normal file
1
themes/anatole-zola/templates/shortcodes/bilibili.html
Normal file
@@ -0,0 +1 @@
|
||||
<iframe src="//player.bilibili.com/player.html?aid=798317579&bvid={{id}}&cid=273252363&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
|
3
themes/anatole-zola/templates/shortcodes/mermaid.html
Normal file
3
themes/anatole-zola/templates/shortcodes/mermaid.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="mermaid">
|
||||
{{ body }}
|
||||
</div>
|
5
themes/anatole-zola/templates/shortcodes/tikzjax.html
Normal file
5
themes/anatole-zola/templates/shortcodes/tikzjax.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<div class="tikz">
|
||||
<script type="text/tikz">
|
||||
{{ body | safe }}
|
||||
</script>
|
||||
</div>
|
5
themes/anatole-zola/templates/shortcodes/youtube.html
Normal file
5
themes/anatole-zola/templates/shortcodes/youtube.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<div {% if class %}class="{{class}}" {% endif %}>
|
||||
<iframe src="https://www.youtube.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}" webkitallowfullscreen
|
||||
mozallowfullscreen allowfullscreen>
|
||||
</iframe>
|
||||
</div>
|
Reference in New Issue
Block a user