wiki:DirClassMacro

Version 2 (modified by Itamar Ostricher, 14 years ago) (diff)

Layout adjustments

DirClass Macro

Description

A macro that makes it easier to work with RTL content.

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

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 [download:dirclassmacro here].

Source

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

Example

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

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

Recent Changes

16969 by rjollos on 2017-11-18 09:49:02
Conform to PEP8
10397 by itamarost on 2011-07-08 17: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 15:54:05
Adding the dirclassmacro.
(more)

Author/Contributors

Author: itamarost
Maintainer: itamarost
Contributors: