====== Allow Indentation Plugin ======
---- plugin ----
description: Allow using indentation in wiki text and disable rendering indented blocks as a preformatted text.
author : dlisin
email : mrlisdim@gmail.com
type : syntax
lastupdate : 2021-04-27
compatible : Hogfather, 2020-07-29
depends :
conflicts :
similar :
tags : indentation, wikitext
downloadurl: https://github.com/mrdimfox/dokuwiki_plugin_allowindentation/zipball/2021-04-27.1
bugtracker : https://github.com/mrdimfox/dokuwiki_plugin_allowindentation/issues
sourcerepo : https://github.com/mrdimfox/dokuwiki_plugin_allowindentation/
donationurl:
----
===== Installation =====
Install the plugin using the [[plugin:plugin|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
[[plugin:allowindentation|this link with two]]
- lists works fine
- this works
* any lists
Not indented text.
will be rendered just like:
{{https://i.imgur.com/Exnvlkq.png?400}}
Works with block plugins too, like [[plugin:wrap]] or [[plugin: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
|Not indented
|
Consider to use [[plugin: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 ''
'' as alternative to indentation.