From Grande Région

Main: Txt2tags

TODO

It's possible to use txt2tags syntax within PmWiki!

Installation

require_once ("cookbook/txt2tags.php");

http://www.pmwiki.org/wiki/Cookbook/Txt2tags

Here is the current state of what is working and what is not:


Samples:

Title level 1

Title level 2

Title level 3

Title level 4

Numbered Title level 1

Numbered Title level 2

Numbered Title level 3

(numbered titles are not displayed with number, but as simple headers)

below is a comment

% and it will be ignored useful for TODOs!

above is a comment

The txt2tags comments are not (yet) working! :(

For beautifiers we have bold and italic.

Double beautifier; with bold and italic is working too.

There is also underline, strike and monospaced.

Two blank lines close all the lists.

  1. Change the hyphen by a plus
  2. And you have a numbered list
    1. Same rules apply

+ + An empty item closes the current list. (this behavior is not working)

Definition list

A list with terms

Start term with colon

And its definition follows :

(definition list is not working)

A quoted paragraph is prefixed

by a TAB. More TABs, more deep.

No TAB or blank line, closes quote.

(not working)

A verbatim area is enclosed
      inside three backquotes.
**Marks** are not interpreted
     and spacing is preserved.

(not working too...)

Verbatim line is nice for commands. This time it's working!

Code inside

test txt2tags table (not working) :

Table HeadingTable Heading
Tablealign |
linesis |
with cellnice! |

A separator line:


And a stronger one:


(At least 20 chars)

More tests

remote image :

pmwiki style :

txt2tags style

titre1

remote image :

pmwiki style :

txt2tags style

Link test

Récupéré sur http://anamnese.online.fr/granderegion/index.php/Main/Txt2tags
Page mise à jour le 26 avril 2024 à 14h38