plugin:dokupp
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
plugin:dokupp [2011-02-02 21:24] – created ryan.chappelle | plugin:dokupp [2018-05-30 22:02] (current) – [DokuPP Plugin] Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
- | author | + | author |
- | email : luis [dot] machuca [at] gulix [dot] cl | + | email : luis.machuca [at] gulix.cl |
type : Syntax | type : Syntax | ||
- | lastupdate : 2011-02-02 | + | lastupdate : 2013-09-29 |
- | compatible : ≥ //Lemming// | + | compatible : Lemming |
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
- | tags : numbering formatting | + | tags : numbering formatting |
- | downloadurl: | + | downloadurl: |
- | bugtracker : # eg. http://github.com/ryan.chappelle/ | + | bugtracker : https://chiselapp.com/user/ |
- | sourcerepo : # eg. http://github.com/ryan.chappelle/ | + | sourcerepo : http://chiselapp.com/user/ |
donationurl: | donationurl: | ||
---- | ---- | ||
+ | |||
+ | This plugin basically allows one to set up "magic counters" | ||
===== Installation ===== | ===== Installation ===== | ||
- | Install | + | Search and install |
+ | |||
+ | :!: The author strongly recommends uninstalling previous versions of this plugin before installing to prevent class name conflicts. | ||
===== Examples/ | ===== Examples/ | ||
- | See the plugin in action [[http:// | + | See the plugin in action [[http:// |
- | You use the '' | + | ===Counter=== |
+ | You use the '' | ||
< | < | ||
- | The following shows the number | + | This creates a row of numbers starting at zero: |
+ | @#@, @#@, @#@, @#@, @#@, @#@ and @#@. | ||
+ | </ | ||
+ | Using this snippet you should see: | ||
+ | < | ||
+ | This creates a row of numbers starting at zero: | ||
+ | 0, 1, 2, 3, 4, 5 and 6. | ||
</ | </ | ||
- | If the counter | + | ===Select and Setup=== |
+ | You can create your own, named counter, and assign an initial value to it. When you select a counter by name, all subsequent invocations of '' | ||
< | < | ||
- | The following shows the number 5, and this 6 showed the next number. After all that comes 7. | + | Select (or create) a counter named ' |
+ | Select (or create) a counter named ' | ||
+ | Select the ' | ||
+ | Select the default, unnamed counter, continue where it left: @#=@ | ||
+ | </ | ||
+ | |||
+ | Counter names must be single words in lowercase (eg.: "'' | ||
+ | |||
+ | The **default (unnamed)** counter starts at zero. To start it at a higher value select it with a new number: '' | ||
+ | |||
+ | < | ||
+ | @#=5@ | ||
+ | The following shows the number @#@, and this @#@ showed the next number. | ||
+ | After all that comes @#@. | ||
+ | </ | ||
+ | |||
+ | Half way the counter was initialized to //5//, for example, you should see this: | ||
+ | |||
+ | < | ||
+ | The following shows the number 5, and this 6 showed the next number. | ||
+ | After all that comes 7. | ||
</ | </ | ||
Line 41: | Line 74: | ||
===== Syntax ===== | ===== Syntax ===== | ||
- | In the current version ('' | + | In the current version (2013-09) the following syntax is allowed: |
- | * Use '' | + | * Use '' |
+ | * When left out the counter starts at zero | ||
+ | * You can reinitialize the counter as much as you like. | ||
* Use '' | * Use '' | ||
+ | * Use '' | ||
+ | * You can reinitialize them as much as you like as well: '' | ||
- | Initializing the counter (this produces no observable output by default): | + | |
+ | **Initializing the counter** (this produces no observable output by default): | ||
< | < | ||
@#=5@ // initializes with the value 5// | @#=5@ // initializes with the value 5// | ||
</ | </ | ||
- | + | **Invoking the counter**: | |
- | Invoking the counter: | + | |
< | < | ||
- | The following shows the number @#@, and this @#@ showed the next number. After all that comes @#@. | + | The following shows the number @#@, and this @#@ showed the next number. |
+ | After all that comes @#@. | ||
</ | </ | ||
- | Only one counter can exist in a page. :!: Using insertion plugins like [[doku>plugin: | + | ====Limitations==== |
+ | <del>Only one counter can exist in a page</ | ||
+ | |||
+ | :!: Using insertion plugins like [[plugin: | ||
===== Development ===== | ===== Development ===== | ||
- | This plugin is currently experimental | + | Caveats, sample snapshots |
- | Caveats, bugs and fixes, sample snapshots and a ChangeLog are provided at the official demo site. | + | Issues can be submitted to the source repo's tracker (following or commenting on issues requires a login). |
- | + | ||
- | ^ Other Plugins by\\ Luis Machuca: | + | |
===== FAQ ===== | ===== FAQ ===== | ||
Line 74: | Line 113: | ||
No discussion yet? | No discussion yet? | ||
- | |||
- | |||
plugin/dokupp.1296678299.txt.gz · Last modified: 2011-02-02 21:24 by ryan.chappelle