DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:txt2tags

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
plugin:txt2tags [2012-12-11 01:43] – created 82.252.147.137plugin:txt2tags [2018-06-06 00:18] (current) – [Download] Klap-in
Line 1: Line 1:
-====== txt2tags plugin ======+====== txt2tags Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: Parses txt2tags.+description: Parses txt2tags
 author     : Eric Forgeot, derived from markdownextra plugin by Joonas Pulakka and Jiang Le author     : Eric Forgeot, derived from markdownextra plugin by Joonas Pulakka and Jiang Le
 email      :  email      : 
 type       : syntax type       : syntax
-lastupdate : 2012-12-11 +lastupdate : 2014-05-19 
-compatible : 2012-10-13 “Adora Belle” and newer+compatible : Adora Belle, Weatherwax, Binky, Ponder Stibbons
 depends    :  depends    : 
 conflicts  : conflicts  :
 similar    :   similar    :  
 tags       : formatting, markup_language tags       : formatting, markup_language
-downloadurl: http://txt2tags.googlecode.com/files/txt2tags_dokuwiki.zip +downloadurl: https://bitbucket.org/farvardin/txt2tags-tools/downloads/txt2tags_dokuwiki.zip 
-bugtracker : http://code.google.com/p/txt2tags/issues/list +bugtracker : https://bitbucket.org/farvardin/txt2tags-tools/issues 
-sourcerepo : http://code.google.com/p/txt2tags/source/browse/trunk#trunk%2Fextras%2Fdokuwiki+sourcerepo : https://bitbucket.org/farvardin/txt2tags-tools/
 ---- ----
  
 +==== Download ====
  
-===== Download and Installation =====+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. If installed manually, rename the plugin folder to ''txt2tags''.
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URLRefer to [[:Plugins]] on how to install plugins manually.+  * https://bitbucket.org/farvardin/txt2tags-tools/downloads/txt2tags_dokuwiki.zip
  
-  * http://txt2tags.googlecode.com/files/txt2tags_dokuwiki.zip+Also available on bitbucket:
  
-Also available in Google Code:+  * https://bitbucket.org/farvardin/txt2tags-tools/
  
-  * http://code.google.com/p/txt2tags/source/browse/trunk#trunk%2Fextras%2Fdokuwiki 
-   
  
-===== Usage =====+==== Installation and 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:+=== Txt2tags light users ===
  
-    <t2t> +//(for an occasional usage of txt2tags)//
-    = Header =+
  
-    ``` +By default, if the page name ends with ''.t2t'' suffix, it gets automatically parsed using txt2tags-php. 
-    some code +
-    ```+
  
-    Paragraph+To use that txt2tags markup in other pages, the content must be embedded in a ''t2t'' block. For example:
  
-    == Header ==+<code> 
 +<t2t> 
 += Header =
  
-    - A +``` 
-    - simple +some code 
-    - list+```
  
-    + And +Paragraph
-    + numbered +
-    + list+
  
-    Quite intuitive?  +== Header ==
-     +
-    //italic//, **strong**, __underlined__ etc. +
-     +
-    </t2t>+
  
 +- A
 +- simple
 +- list
  
-For complete syntax, refer to http://www.txt2tags.org++ And 
 ++ numbered 
 ++ list
  
  
 +Quite intuitive: 
  
-=== Change Log ===+//italic//, **strong**, __underlined__, --strike-through-- etc.
  
 +</t2t>
 +</code>
  
-  * **2012-12-11** +For the full syntax, refer to http://www.txt2tags.org
-    * Initial release+
  
 +=== Txt2tags heavy users ===
  
-===== Discussion =====+//(enable txt2tags globally)//
  
-**Feature requests:**+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; 
  
 +==== Toolbar ====
  
-**Bugs:**+You may wish to replace ''toolbar.php'' in ''dokuwiki/inc/'' so you'll get a txt2tags-aware toolbar for your dokuwiki installation. For enabling internal link support, you'll also have to replace ''linkwiz.js'' into ''dokuwiki/lib/scripts/''
  
 +You may wish to enable the table creation wizard, to do so, include this just before the </body> tag, at the end of your template main.php file, like this:
  
 +  <script src="lib/plugins/txt2tags/tables.js" type="text/javascript"></script>
  
-**Support:**+==== Power user usage ====
  
 +You can edit config.t2t located in the txt2tags plugin folder (''lib/plugins/txt2tags/'') of your dokuwiki installation so you can tweak more your txt2tags rendering using regex. 
  
 +==== changelog ====
  
 +  * 2014-05-19: improved toolbar
 +  * 2014-05-18: update with an external t2t file to add more control on the result
 +  * 2012-12-11: Initial release
  
  
 +==== bugs ====
  
 +It's basically a simple adaptation from the [[plugin: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 bug tracker
  
  
plugin/txt2tags.1355186596.txt.gz · Last modified: 2012-12-11 01:43 by 82.252.147.137

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