forked from deepStateMirrors/tabi
✨ feat: add force_text_direction shortcode (#414)
This commit is contained in:
parent
092ccdd1ba
commit
c9f8d27b96
5 changed files with 108 additions and 3 deletions
5
templates/shortcodes/force_text_direction.html
Normal file
5
templates/shortcodes/force_text_direction.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{%- set direction = direction | default(value="ltr") -%}
|
||||
|
||||
<div data-force-text-direction="{{ direction }}">
|
||||
{{ body | markdown | safe }}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue