Changes between Version 5 and Version 6 of DirClassMacro
- Timestamp:
- Sep 21, 2016, 6:53:00 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DirClassMacro
v5 v6 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = RightToLeft content macro3 = Display Right-To-Left content in wiki pages and tickets 4 4 5 5 == Description 6 6 7 Amacro that makes it easier to work with [wikipedia:Right-to-left Right-to-Left] (RTL) content. The need for RTL occurs most commonly for languages such as Arabic and Hebrew, and is not natively supported by HTML.7 This is a macro that makes it easier to work with [wikipedia:Right-to-left Right-to-Left] (RTL) content. The need for RTL occurs most commonly for languages such as Arabic and Hebrew, and is not natively supported by HTML. 8 8 9 Simply use "![[RTL]]" to emit a right-aligned div tag, and "![[LTR]]" to close the div. 9 Simply use `![[RTL]]` to emit a right-aligned div tag, and `![[LTR]]` to close the div: 10 11 {{{ 12 [[RTL]] 13 This text is right-aligned. 14 15 [[LTR]] 16 And this text is left-aligned. 17 }}} 10 18 11 19 See also: http://www.w3.org/International/questions/qa-html-dir … … 29 37 You can check out DirClassMacro from [/svn/dirclassmacro here] using Subversion, or [source:dirclassmacro browse the source] with Trac. 30 38 31 == Example32 33 {{{34 [[RTL]]35 This text is right-aligned.36 37 [[LTR]]38 And this text is left-aligned.39 }}}40 41 39 == Recent Changes 42 40