DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:alignment

alignment plugin

Compatible with DokuWiki

2009-12-25 “Lemming”

plugin aligns the content

Last updated on
2010-06-12
Provides
Syntax

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to class, divalign, divalign2, wrap

By faraday

The idea did i get from divalign2. “Alignment” bases on it. I didn't like the code and the usage of divalign2, so i wrote a new one. At this point thanks to Luis.

Features

  1. Aligns the content ;-)
  2. Added button in the toolbar
  3. half ODT-compatibility (content is shown, but not aligned)
  4. XHTML compliant
  5. No paragraph problems (you don't need to create paragraphs manually to guarantee functionality)
  6. Language support (so far: en, de, de-informal)

Download and Installation

Download and install the plugin using the Plugin Manager using the URL given above. Refer to Plugins on how to install plugins manually.

Syntax and Usage

The usage is very simple. Enclose the paragraph or block you want to align with an <align youralign>-tag. “Youralign” is the align you want to use:

tag description
<align left></align> aligns the content left (default)
<align center></align> aligns the content centered
<align right></align> aligns the content right
<align justify></align> the content will be shown justified

Note: The plugin isn't usable for tables, quotes or lists.

Discussion

Looks nice that you took the idea to build a new plugin, Faraday. BTW, if you need webspace to host the plugin, I have a place where I can upload it. Interested? — Luis 2010/06/10 20:29

Of course I do. =) Thanks. — faraday 2010/06/10 20:35
I used your link for the main download. Thanks again. — faraday 2010/06/12 17:53
Now, I have my own webspace. But thank you for help. — faraday 2010/06/12 17:52

Hello,

I would download your plugin but the link is broken …. Where are we download it ?

Thanks

Indeed, the download link is broken :( I have webspace too, so i can host your plugin if you want ;) — TTy32TTy32

2011/04/25 15:25
plugin/alignment.txt · Last modified: 2016-03-29 01:46 by ach