forked from deepStateMirrors/tabi
✨ feat(shortcodes): add 'aside' shortcode for side notes (#452)
This commit is contained in:
parent
e1b60542df
commit
98b0c8d161
6 changed files with 131 additions and 3 deletions
5
templates/shortcodes/aside.html
Normal file
5
templates/shortcodes/aside.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{%- set text = text | default(value=body) -%}
|
||||
|
||||
<aside {% if position %}data-position="{{ position }}"{% endif %}>
|
||||
{{ text | markdown | safe }}
|
||||
</aside>
|
Loading…
Add table
Add a link
Reference in a new issue