plugin:dokupp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:dokupp [2013-09-19 18:29] – complete syntax description Klap-in | 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:// |
===Counter=== | ===Counter=== | ||
Line 39: | Line 44: | ||
</ | </ | ||
- | ===Reinitialize=== | + | ===Select and Setup=== |
- | Default | + | 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 '' |
+ | |||
+ | < | ||
+ | Select (or create) a counter named ' | ||
+ | Select (or create) a counter named ' | ||
+ | Select | ||
+ | Select the default, unnamed counter, continue where it left: @#=@ | ||
+ | </ | ||
+ | |||
+ | Counter names must be single words in lowercase (eg.: "'' | ||
+ | |||
+ | The **default (unnamed)** | ||
< | < | ||
Line 58: | 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 | * When left out the counter starts at zero | ||
* You can reinitialize the counter as much as you like. | * 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. | The following shows the number @#@, and this @#@ showed the next number. | ||
Line 78: | Line 96: | ||
====Limitations==== | ====Limitations==== | ||
- | Only one counter can exist in a page. Therefore it is not possible to have another nested counter. | + | <del>Only one counter can exist in a page</ |
:!: Using insertion plugins like [[plugin: | :!: Using insertion plugins like [[plugin: | ||
Line 84: | Line 102: | ||
===== 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 97: | Line 113: | ||
No discussion yet? | No discussion yet? | ||
+ |
plugin/dokupp.1379608164.txt.gz · Last modified: 2013-09-19 18:29 by Klap-in