DokuWiki

It's better when it's simple

Site Tools

plugin:allowindentation

Allow Indentation Plugin

Compatible with DokuWiki

• 2022-07-31 "Igor" unknown
• 2020-07-29 "Hogfather" yes
• 2018-04-22 "Greebo" unknown
• 2017-02-19 "Frusterick Manners" unknown

Allow using indentation in wiki text and disable rendering indented blocks as a preformatted text.

Last updated on
2021-04-27
Provides
Syntax
Repository
Source

Tagged with indentation, wikitext

By dlisin

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to the latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

Use any indentation you want in your wiki text. Preformatted text will never be rendered.

For example:

```    === Indented header! Wow! (probably nobody need this) ===

this text indented with four spaces

- lists works fine
- this works
* any lists

Not indented text.```

will be rendered just like:

Works with block plugins too, like wrap or blockquote. Unfortunately, you should put new lines instead of one or `\\` after text to make a new paragraph inside indented blocks.

Finally, you can make a readable indentation for your wiki text instead of a useless preformatted blocks. Compare these two things, which one is more readable:

 Indented ``` Text inside block. Block inside. ``` Not indented ``` Text inside block. Block inside. ```

Consider to use autotabber plugin to enhance your indentation experience.

Change Log

• 2021-04-27
• Initial release
• 2021-04-27.1
• Version issues

Known Bugs and Issues

• You should put two new lines instead of one after text to make a new paragraph inside indented blocks.

ToDo/Wish List

• May be add `<pre>` as alternative to indentation.