Changes between Version 5 and Version 6 of DirClassMacro


Ignore:
Timestamp:
Sep 21, 2016, 6:53:00 PM (3 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • DirClassMacro

    v5 v6  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = RightToLeft content macro
     3= Display Right-To-Left content in wiki pages and tickets
    44
    55== Description
    66
    7 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.
     7This 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.
    88
    9 Simply use "![[RTL]]" to emit a right-aligned div tag, and "![[LTR]]" to close the div.
     9Simply use `![[RTL]]` to emit a right-aligned div tag, and `![[LTR]]` to close the div:
     10
     11{{{
     12[[RTL]]
     13This text is right-aligned.
     14
     15[[LTR]]
     16And this text is left-aligned.
     17}}}
    1018
    1119See also: http://www.w3.org/International/questions/qa-html-dir
     
    2937You can check out DirClassMacro from [/svn/dirclassmacro here] using Subversion, or [source:dirclassmacro browse the source] with Trac.
    3038
    31 == Example
    32 
    33 {{{
    34 [[RTL]]
    35 This text is right-aligned.
    36 
    37 [[LTR]]
    38 And this text is left-aligned.
    39 }}}
    40 
    4139== Recent Changes
    4240