wiki:DirClassMacro

Display Right-To-Left content in wiki pages and tickets

Description

This is a macro that makes it easier to work with 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.

Simply use ![[RTL]] to emit a right-aligned div tag, and ![[LTR]] to close the div:

[[RTL]]
This text is right-aligned.

[[LTR]]
And this text is left-aligned.

See also: http://www.w3.org/International/questions/qa-html-dir

Bugs/Feature Requests

Existing bugs and feature requests for DirClassMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out DirClassMacro from here using Subversion, or browse the source with Trac.

Recent Changes

10397 by itamarost on 2011-07-08 19:35:33
DirClassMacro 0.11-2 and 0.12-2: Added a CSS subtlety that affects indentation of right-to-left wiki-toc floating divs.
8645 by itamarost on 2010-09-05 17:54:05
Adding the dirclassmacro.
8644 by itamarost on 2010-09-05 17:47:51
New hack DirClassMacro, created by itamarost
(more)

Author/Contributors

Author: itamarost
Maintainer: Itamar Ostricher
Contributors:

Last modified 6 days ago Last modified on Sep 21, 2016, 8:53:00 PM