TiddlyWiki5/editions/tw5.com/tiddlers/pragmas/Pragma_ _dir.tid

14 lines
565 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

created: 20230613162508509
modified: 20230613162508509
tags: Pragmas
title: Pragma: \dir
type: text/vnd.tiddlywiki
<<.from-version "5.3.0">> The ''\dir'' [[pragma|Pragmas]] is used to set the text direction of text within a tiddler -- see [[Right-To-Left Languages]].
The ''\dir'' pragma should be used after any procedure, function, widget or macro definitions.
* `\dir ltr` sets text direction to left-to-right
* `\dir rtl` sets text direction to right-to-left
* `\dir auto` causes the browser to attempt to automatically deduce the text direction