DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:tab

Tab Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" unknown
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown

plugin Inserts 5 non-breaking spaces to 'force' a tab

Last updated on
2020-05-14
Provides
Syntax
Repository
Source

Similar to nbsp

Tagged with typography

Description

Since one can't really do tabs in HTML, this plugin offers a possibility by the use of non-breaking spaces (nbsp's) instead: 5 nbsp's ⇒ 1 tab.

Syntax

There are two ways to use the plugin:

  1. Insert <tab> into the text. When DokuWiki parses it, it will replace '<tab>' with 5 spaces.
  2. Insert <tab#> where '#' is a number and defines the quantity of “&nbsp” signs.

Therefore the following both syntax lines are working:

Syntax Result
<tab> 5 times “&nbsp;” = 1 tab
<tab2> 2 times “&nbsp;” (where 2 can be each positive integer value, a negative value will be ignored)

Installation

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

Development

The original code was written by Tim Skoch. I have updated it for compatibility to PHP7 and included the possibility proposed by taggic (2011-09-22) to extend the syntax to “<tab2>” (and so on). Finally I have created a repository at github.

The earlier description can be found here.

Change Log

  • 2018-02-06: Last version of Tim Scoch
  • 2020-05-14: Acquisition and updating by Juergen

Known Bugs and Issues

Please report bugs or feature requests at the Bug tracker.

Discussion

plugin/tab.txt · Last modified: 2020-05-14 22:36 by Juergen_aus_Zuendorf