This is an old revision of the document!
Table of Contents
txt2tags plugin
Compatible with DokuWiki
2013-12-08 “Adora Belle”, "Weatherwax", "Binky" and newer
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Download and Installation
Download and install the plugin using the Plugin Manager using the following URL. Refer to Plugins on how to install plugins manually.
Also available in Google Code:
Usage
If the page name ends with .t2t suffix, it gets automatically parsed using txt2tags-php. To use that markup in other pages, the content must be embedded in a txt2tags block. For example:
<t2t> = Header = ``` some code ``` Paragraph == Header == - A - simple - list + And + numbered + list Quite intuitive: //italic//, **strong**, __underlined__, --strike-through-- etc. </t2t>
For complete syntax, refer to http://www.txt2tags.org
Change Log
- 2012-12-11
- Initial release
Discussion
Feature requests:
Bugs:
It's basically a simple adaptation from the markdownextra plugin, using a txt2tags converter instead of the markdown one. While it seems to works well, there might be some glitches. If you find any, please report them on the txt2tags bug tracker (explain it's the txt2tags-php plugin for using in dokuwiki, because there is already a dokuwiki export for txt2tags-python)
Support:
Notes:
This version enable txt2tags markup only on pages which has the .t2t extension. If you want to enable txt2tags for the whole website, just delete or comment in action.php this line:
if(substr($ID,-4) != '.t2t') return true;