'p' => array(
'replacement' => 'normaler Text',
'alias' => array('section'),
'subpattern' => array(),
// Normaler Text mit Absatz!
'template' => "normaler Text
",
// 'template' => "normaler Text",
),
// normaler Text
'cdata' => array(
'replacement' => 'CDATA',
'alias' => array(),
'subpattern' => array(),
'template' => "CDATA",
),
'header' => array(
'replacement' => 'UEBERSCHRIFT',
'alias' => array('h1', 'h2', 'h3', 'h4', 'h5', 'h6'),
'subpattern' => array('{{LEVEL}}'),
'template' => "
UEBERSCHRIFT
",
),
'footnote' => array(
'replacement' => 'Fussnote',
'alias' => array(),
'subpattern' => array('{{NOTE}}'),
// Template contains another template of "normaler Text"!
// 'template' => "
// {{NOTE}}
//
// Fussnote
//
//
//
//
",
'template' => "{{NOTE}}
Fussnote
",
),
'externallink' => array(
'replacement' => 'EXTERNALLINK',
'alias' => array('internallink', 'internalmedia'), // TODO internalmedia might not work
'subpattern' => array('{{TITLE}}'),
'template' => "{{TITLE}}EXTERNALLINK",
),
// http://mountaindragon.com/html/iso.htm
'doublequoteopening' => array(
'replacement' => 'DOUBLEQUOTEOPENING',
'alias' => array(),
'subpattern' => array(),
#'template' => '&qout;',
'template' => '"',
),
'doublequoteclosing' => array(
'replacement' => 'DOUBLEQUOTECLOSING',
'alias' => array(),
'subpattern' => array(),
#'template' => '&qout;',
'template' => '"',
),
'singlequoteopening' => array(
'replacement' => 'SINGLEQUOTEOPENING',
'alias' => array(),
'subpattern' => array(),
'template' => '\'',
),
'singlequoteclosing' => array(
'replacement' => 'SINGLEQUOTECLOSING',
'alias' => array(),
'subpattern' => array(),
'template' => '\'',
),
'plain' => array(
'replacement' => 'PLAIN',
'alias' => array('entity', 'acronym', 'preformatted'),
'subpattern' => array(),
'template' => "PLAIN", // same template as "p", correct?
),
//
//
// Erstens
//
//
// Zweitens
//
//
// Drittens
//
//
'list' => array(
'replacement' => 'LIST',
'alias' => array('listu', 'listo'),
'subpattern' => array(),
'template' => 'LIST
',
'template_p_open' => 'LIST
',
),
'listcontent' => array(
'replacement' => 'LISTCONTENT',
'alias' => array(),
'subpattern' => array(),
'template' => 'LISTCONTENT',
),
'listitem' => array(
'replacement' => 'LISTITEM',
'alias' => array(),
'subpattern' => array('{{LEVEL}}'),
'template' => '
LISTITEM
',
),
'strong' => array(
'replacement' => 'BOLD',
'alias' => array(),
'subpattern' => array(),
'template' => "BOLD",
),
'emphasis' => array(
'replacement' => 'EMPHASIS',
'alias' => array('italic'),
'subpattern' => array(),
'template' => "EMPHASIS",
),
'underline' => array(
'replacement' => 'UNDERLINE',
'alias' => array(),
'subpattern' => array(),
'template' => "UNDERLINE",
),
'deleted' => array(
'replacement' => 'DELETED',
'alias' => array(),
'subpattern' => array(),
'template' => 'DELETED',
),
'monospace' => array(
'replacement' => 'MONOSPACE',
'alias' => array(),
'subpattern' => array(),
'template' => 'MONOSPACE',
),
'code' => array(
'replacement' => 'CODE',
'alias' => array(),
'subpattern' => array(),
'template' => 'CODE
',
),
'smiley' => array(
'replacement' => 'SMILEY',
'alias' => array(),
'subpattern' => array(),
'template' => 'SMILEY',
),
'table' => array(
'replacement' => 'TABLE',
'alias' => array(),
'subpattern' => array(),
'template' => 'TABLE',
),
'tablerow' => array(
'replacement' => 'TABLEROW',
'alias' => array(),
'subpattern' => array(),
'template' => "TABLEROW
",
),
'tablecell' => array(
'replacement' => 'TABLECELL',
'alias' => array(),
'subpattern' => array(),
'template' => ' | TABLECELL | ',
// 'template' => 'TABLECELL ',
),
);