====== Tab Plugin ====== ---- plugin ---- description: Inserts 5 non-breaking spaces to 'force' a tab author : Juergen_aus_Zuendorf (previous Tim Skoch) email : H-J-Schuemmer@Web.de type : syntax lastupdate : 2020-05-14 compatible : 2018-04-22b "Greebo" depends : conflicts : similar : nbsp tags : typography downloadurl: https://github.com/Juergen-aus-Koeln/dokuwiki-plugin-tab/archive/master.zip bugtracker : https://github.com/Juergen-aus-Koeln/dokuwiki-plugin-tab/issues sourcerepo : https://github.com/Juergen-aus-Koeln/dokuwiki-plugin-tab/ ---- ===== 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: - Insert '''' into the text. When DokuWiki parses it, it will replace '' with 5 spaces. - Insert '''' where '#' is a number and defines the quantity of “ ” signs. Therefore the following both syntax lines are working: ^ Syntax ^ Result ^ | '''' | 5 times " " = 1 tab | | '''' | 2 times " " (where 2 can be each positive integer value, a negative value will be ignored) | ===== Installation ===== Install the plugin using the [[plugin:plugin|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 "" (and so on). Finally I have created a repository at github. The earlier description can be found [[.:tab:old|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 [[https://github.com/Juergen-aus-Koeln/dokuwiki-plugin-tab/issues|Bug tracker]]. ===== Discussion =====