DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:txt2tags

This is an old revision of the document!


txt2tags plugin

Compatible with DokuWiki

2013-12-08 “Adora Belle”, "Weatherwax", "Binky" and newer

plugin Parses txt2tags.

Last updated on
2012-12-11
Provides
Syntax
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with formatting, markup_language

By Eric Forgeot, derived from markdownextra plugin by Joonas Pulakka and Jiang Le

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;

plugin/txt2tags.1391958708.txt.gz · Last modified: 2014-02-09 16:11 by 82.64.50.155

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki