dawn/templates/shortcodes/tikz.html

2 lines
191 B
HTML

<div class="tikz-{% if position %}{{ position }}{% else -%}center{%- endif %}" {%- if style %} style="{{ style | safe }}" {%- endif %}><script type="text/tikz">{{body | safe}}</script></div>