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

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:txt2tags [2014-05-19 16:09] 83.206.38.117plugin:txt2tags [2018-06-06 00:18] (current) – [Download] Klap-in
Line 1: Line 1:
-===== txt2tags plugin for DokuWiki ===== +====== 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      : 
Line 17: Line 16:
 sourcerepo : https://bitbucket.org/farvardin/txt2tags-tools/ sourcerepo : https://bitbucket.org/farvardin/txt2tags-tools/
 ---- ----
- 
- 
  
 ==== Download ==== ==== Download ====
  
-Download and install the plugin using the Plugin Manager using the following URL. Refer to [[plugin:plugin|Plugin Manager]] on how to install plugins manually (hint: copy the extracted 'txt2tagsfolder into dokuwiki/lib/plugins/+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''.
- +
- * https://bitbucket.org/farvardin/txt2tags-tools/downloads/txt2tags_dokuwiki.zip+
  
 +  * https://bitbucket.org/farvardin/txt2tags-tools/downloads/txt2tags_dokuwiki.zip
  
 Also available on bitbucket: Also available on bitbucket:
  
- * https://bitbucket.org/farvardin/txt2tags-tools/+  * https://bitbucket.org/farvardin/txt2tags-tools/
  
  
Line 43: Line 39:
  
 <code> <code>
-    <t2t> +<t2t> 
-    = Header =+= Header =
  
-    ``` +``` 
-    some code +some code 
-    ```+```
  
-    Paragraph+Paragraph
  
-    == Header ==+== Header ==
  
-    - A +- A 
-    - simple +- simple 
-    - list+- list
  
-    + And ++ And 
-    + numbered ++ numbered 
-    + list ++ list
-    +
  
-    Quite intuitive:  + 
-     +Quite intuitive:  
-    //italic//, **strong**, __underlined__, --strike-through-- etc. + 
-     +//italic//, **strong**, __underlined__, --strike-through-- etc. 
-    </t2t>+ 
 +</t2t>
 </code> </code>
  
 For the full syntax, refer to http://www.txt2tags.org For the full syntax, refer to http://www.txt2tags.org
- 
  
 === Txt2tags heavy users === === Txt2tags heavy users ===
Line 79: Line 74:
 If you want to enable txt2tags for the whole website, just delete or comment in ''action.php'' this line: 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;  +  if(substr($ID,-4) != '.t2t') return true; 
  
 ==== Toolbar ==== ==== Toolbar ====
Line 88: Line 82:
 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: 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> +  <script src="lib/plugins/txt2tags/tables.js" type="text/javascript"></script>
-   +
  
 ==== Power user usage ==== ==== 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.  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 ==== ==== changelog ====
  
- * 2014-05-19: improved toolbar +  * 2014-05-19: improved toolbar 
- * 2014-05-18: update with an external t2t file to add more control on the result +  * 2014-05-18: update with an external t2t file to add more control on the result 
- * 2012-12-11: Initial release+  * 2012-12-11: Initial release
  
  
plugin/txt2tags.1400508557.txt.gz · Last modified: 2014-05-19 16:09 by 83.206.38.117

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