Loading...
 
Skip to main content

History: PluginIndent

Preview of version: 7

Plugin Indentation

Introduced in Tiki24

Use this wiki plugin to indent a block of wiki content at the paragraph level (such as paragraphs, tables, code blocks...) by one level. Use properly nested {INDENT()}...{INDENT} calls for further indentation.

Parameters

There are no parameters required - only the text between the INDENT tags is needed.

Examples

The examples don't work on the doc.tiki.org site. This is because the indentation plugin hasn't been added yet. In the mean time, you can test at https://nextdoc.tiki.org/PluginIndent (u:next p:next). Please keep in mind that the data on nextdoc.tiki.org has a delay as per Pre-Dogfood Server

Example 1

This code:

Copy to clipboard
Before {INDENT()}Between{INDENT} Afters

Would produce on this site:

Before

  • Between

Afters

Example 2

Use this code to indent two levels:

Copy to clipboard
Before {INDENT()} Level 1 {INDENT()}Level 2{INDENT} {INDENT} Afters

This produces:

  • Level 1

    • Level 2

Example 3

Do not use this code to indent two levels:

Copy to clipboard
Before {INDENT()}Level 1{INDENT} {INDENT()}{INDENT()}Level 2{INDENT}{INDENT} Afters

This is because the browser generates a vertical gap when repeating the indentation several times, like above. The gap gets bigger with each level of indentation. This is what the browser produces when doing it like in example 3:

Before

  • Level 1
    • Level 2

Afters

No related pages.

Aliases

No aliases.

History

Advanced
Information Version
Baraka Kinywa 9
Marc Laporte doc.tiki.org is now on 24.x 8
Volker Wysk 7
Marc Laporte 6
Marc Laporte 5
Marc Laporte 4
Volker Wysk 3
Volker Wysk 2
Volker Wysk Added documentation for PluginIndent 1