more functionality to tikz - position + style

This commit is contained in:
2022-06-23 20:21:38 -04:00
parent a48ba5f467
commit 7e5f5526bc
4 changed files with 21 additions and 3 deletions
+13
View File
@@ -260,6 +260,19 @@
margin-left: auto;
}
.post_contents .tikz-left {
margin-right: auto;
}
.post_contents .tikz-center {
margin-left: auto;
margin-right: auto;
}
.post_contents .tikz-right {
margin-left: auto;
}
.post_contents blockquote {
{%- if config.extra.base09 %}
border-left: 3px solid {{ config.extra.base09 }};
+1 -1
View File
@@ -1 +1 @@
<script type="text/tikz">{{body | safe}}</script>
<div class="tikz-{% if position %}{{ position }}{% else -%}center{%- endif %}" {%- if style %} style="{{ style | safe }}" {%- endif %}><script type="text/tikz">{{body | safe}}</script></div>