Recent Changes - Search:

add Test Extensions page

hide Test Extensions

Test Extensions


hide Topics

Topics

show Changed

Changed

Visitor's book Site map pmwiki-2.7.3 5577

PmWiki Plus markup

Extension Hub - PmWikiPlus version 2026-07-30 Category: Extensions SiteAdmin.Extension Hub PmWikiPlus test Testing the PmWikiPlus extension markup. See PmWiki Cookbook:PmWikiPlus


KiwiWiki PmWikiPlus Markup

Attach:Emptyfile.txt
Attach:[=Empty file=].txt

Attach:Emptyfile.txt Attach:Empty file.txt

PmWiki has two markups for line break, %pmhlt%[@[[<<]]@] for Line Break with "@@clear:both@@"; [@\\@] which only works at the end of a line. [[\\]] These markups for line breaks work inside a line.
* The markup %pmhlt%[@[[\\]]@] provides an inline Line Break [[\\]]''without'' "@@clear:left@@" or "@@clear:right@@".
* Markup %pmhlt%[@[[<]]@] inline Line Break [[<]]''with'' "@@clear:left@@"
* Markup %pmhlt%[@[[>]]@] inline Line Break [[>]]''with'' "@@clear:right@@"
* '*%pmhlt%[@'* Bold markup *'@]*', contrast this with '''strong  markup'''.
* '~%pmhlt%[@'~ Italic markup ~'@]~', contrast this with ''emphasis markup''.

PmWiki has two markups for line break, [[<<]] for Line Break with "clear:both"; \\ which only works at the end of a line.
These markups for line breaks work inside a line.

  • The markup [[\\]] provides an inline Line Break
    without "clear:left" or "clear:right".
  • Markup [[<]] inline Line Break
    with "clear:left"
  • Markup [[>]] inline Line Break
    with "clear:right"
  • '* Bold markup *', contrast this with strong markup.
  • '~ Italic markup ~', contrast this with emphasis markup.
@@{(cc '"' test "[]\\//**.." ==++-- 12345 )} @@

"test[]\\//**..==++--12345

@@{(cc QUOTES some NBSP text 'and yet more texty')} @@

'some textand yet more texty'


@@{(txtfltr PAGE some text 'and yet more texty' "^~-12345].,/\':;")} @@

@@{(txtfltr SP some text 'and yet more texty' "^~-12345].,/\':;")} @@

sometextandyetmoretexty~-12345,

sometextandyetmoretexty^~-12345].,/\':;

@@{(txtfltr UPLOAD some text 'and yet more texty' "^~-12345].,/\':;")} @@

sometextand yet more texty-12345.,

@@{(txtfltr TAGS <scr<script>ipt> "b</br>r" 'e<tag not=equal>a<strip attr:1234 val="<>" >k')} @@

break

@@{(txtfltr -^b-x]0-9 some text 'and yet more texty' "^~-12345].,/\':;")} @@

a y y~-.,/\':;

@@{(txtfltr ^b-x]0-9 some text 'and yet more texty' "^~-12345].,/\':;")} @@

sometextndetmoretext^12345]


test contents of $argp
(:div style="font-size:small; font-family:monospace;":)
{(testargp a +b -c d 4 5 6)}
{(testargp "123 abc" - key=val)}
(:divend:)
testargp: PmWikiPlus\PMWP_MUExprTestArgp ($argp)

var: array ( '#' => array ( 0 => '', 1 => 'a', 2 => '+', 3 => 'b', 4 => '-', 5 => 'c', 6 => '', 7 => 'd', 8 => '', 9 => '4', 10 => '', 11 => '5', 12 => '', 13 => '6', ), '' => array ( 0 => 'a', 1 => 'd', 2 => '4', 3 => '5', 4 => '6', ), '+' => array ( 0 => 'b', ), '-' => array ( 0 => 'c', ), )

Key Values
"#" 0:'' 1:'a' 2:'+' 3:'b' 4:'-' 5:'c' 6:'' 7:'d' 8:'' 9:'4' 10:'' 11:'5' 12:'' 13:'6'
"" 0:'a' 1:'d' 2:'4' 3:'5' 4:'6'
"+" 0:'b'
"-" 0:'c'
testargp: PmWikiPlus\PMWP_MUExprTestArgp ($argp)

var: array ( '#' => array ( 0 => '', 1 => '123 abc', 2 => '', 3 => '-', 4 => 'key', 5 => 'val', ), '' => array ( 0 => '123 abc', 1 => '-', ), 'key' => 'val', )

Key Values
"#" 0:'' 1:'123 abc' 2:'' 3:'-' 4:'key' 5:'val'
"" 0:'123 abc' 1:'-'
"key" "val"
test contents of $argp
(:div style="font-size:small; font-family:monospace;":)
{(testargp +a1=arg1 -arg2)}
{(testargp z1=arg1 z2=-88888 +z3='=-+;:')}
(:divend:)
testargp: PmWikiPlus\PMWP_MUExprTestArgp ($argp)

var: array ( '#' => array ( 0 => '+', 1 => 'a1=arg1', 2 => '-', 3 => 'arg2', ), '+' => array ( 0 => 'a1=arg1', ), '-' => array ( 0 => 'arg2', ), )

Key Values
"#" 0:'+' 1:'a1=arg1' 2:'-' 3:'arg2'
"+" 0:'a1=arg1'
"-" 0:'arg2'
testargp: PmWikiPlus\PMWP_MUExprTestArgp ($argp)

var: array ( '#' => array ( 0 => 'z1', 1 => 'arg1', 2 => 'z2', 3 => '-88888', 4 => '+', 5 => 'z3==-+;:', ), 'z1' => 'arg1', 'z2' => '-88888', '+' => array ( 0 => 'z3==-+;:', ), )

Key Values
"#" 0:'z1' 1:'arg1' 2:'z2' 3:'-88888' 4:'+' 5:'z3==-+;:'
"z1" "arg1"
"z2" "-88888"
"+" 0:'z3==-+;:'
test contents of $argp
(:div style="font-size:small; font-family:monospace;":)
{(testargp QUOTES some text 'and yet more text')}
(:divend:)
testargp: PmWikiPlus\PMWP_MUExprTestArgp ($argp)

var: array ( '#' => array ( 0 => '', 1 => 'QUOTES', 2 => '', 3 => 'some', 4 => '', 5 => 'text', 6 => '', 7 => 'and yet more text', ), '' => array ( 0 => 'QUOTES', 1 => 'some', 2 => 'text', 3 => 'and yet more text', ), )

Key Values
"#" 0:'' 1:'QUOTES' 2:'' 3:'some' 4:'' 5:'text' 6:'' 7:'and yet more text'
"" 0:'QUOTES' 1:'some' 2:'text' 3:'and yet more text'

test contents of $args
(:div style="font-size:small; font-family:monospace;":)
{(testargs a +2 -3 +"4" -'5' f )}
{(testargs "123 abc" + key=val)}
(:divend:)
testargs: PmWikiPlus\PMWP_MUExprTestArgs ($args)

var: array ( 0 => 'a', 1 => '+2', 2 => '-3', 3 => '+4', 4 => '-5', 5 => 'f', )

Key Values
"0" "a"
"1" "+2"
"2" "-3"
"3" "+4"
"4" "-5"
"5" "f"
testargs: PmWikiPlus\PMWP_MUExprTestArgs ($args)

var: array ( 0 => '123 abc', 1 => '+', )

Key Values
"0" "123 abc"
"1" "+"
test contents of $args
(:div style="font-size:small; font-family:monospace;":)
{(testargs '"' test "[]\\//**.." ==++-- 12345 key=val )}
(:divend:)
testargs: PmWikiPlus\PMWP_MUExprTestArgs ($args)

var: array ( 0 => '"', 1 => 'test', 2 => '[]\\\\//**..', 3 => '==++--', 4 => '12345', )

Key Values
"0" """
"1" "test"
"2" "[]\\//**.."
"3" "==++--"
"4" "12345"
test contents of $args
(:div style="font-size:small; font-family:monospace;":)
{(testargs +arg1 -"str")}
{(testargs p1=+arg1 p2=-"str")}
(:divend:)
testargs: PmWikiPlus\PMWP_MUExprTestArgs ($args)

var: array ( 0 => '+arg1', 1 => '-str', )

Key Values
"0" "+arg1"
"1" "-str"
testargs: PmWikiPlus\PMWP_MUExprTestArgs ($args)

var: array ( )

Key Values
test contents of $args
(:div style="font-size:small; font-family:monospace;":)
{(testargs q1=arg1 q2=+9999 -z3='=-+;:' key=val )}
(:divend:)
testargs: PmWikiPlus\PMWP_MUExprTestArgs ($args)

var: array ( 0 => '-z3==-+;:', )

Key Values
"0" "-z3==-+;:"

test contents of $parms
(:div style="font-size:small; font-family:monospace;":)
{(testp   p1 key='val' "q12=809##"  )}

$pagename: "TestExtensions.PmWikiPlusMarkup"
$func: "testp"
$rpat: "/(\d+P)/"
$repl: "(testp p1 key=val q12=809## )"
$parms: var: array ( '#' => array ( 0 => '', 1 => 'p1', 2 => 'key', 3 => 'val', 4 => '', 5 => 'q12=809##', ), '' => array ( 0 => 'p1', 1 => 'q12=809##', ), 'key' => 'val', )

Key Values
"#" 0:'' 1:'p1' 2:'key' 3:'val' 4:'' 5:'q12=809##'
"" 0:'p1' 1:'q12=809##'
"key" "val"
test contents of $parms
(:div style="font-size:small; font-family:monospace;":)
{(testp p2 p3 key=val '66=2*3*10+6')}
(:divend:)

$pagename: "TestExtensions.PmWikiPlusMarkup"
$func: "testp"
$rpat: "/(\d+P)/"
$repl: "(testp p2 p3 key=val 66=2*3*10+6)"
$parms: var: array ( '#' => array ( 0 => '', 1 => 'p2', 2 => '', 3 => 'p3', 4 => 'key', 5 => 'val', 6 => '', 7 => '66=2*3*10+6', ), '' => array ( 0 => 'p2', 1 => 'p3', 2 => '66=2*3*10+6', ), 'key' => 'val', )

Key Values
"#" 0:'' 1:'p2' 2:'' 3:'p3' 4:'key' 5:'val' 6:'' 7:'66=2*3*10+6'
"" 0:'p2' 1:'p3' 2:'66=2*3*10+6'
"key" "val"

pmwikiplus
D:\Home\KiwiWiki\pmwiki\extensions\PmWikiPlus\PmWikiPlus.php= 2026-07-30
confPmWikiPlus[=dir]= D:\Home\KiwiWiki\pmwiki\extensions/PmWikiPlus
confPmWikiPlus[=url]= http://kiwiwiki.co.nz/pmwiki/extensions/PmWikiPlus
confPmWikiPlus[_xversions]= 2025-12-14 2026-07-20
confPmWikiPlus[debug]= debug on
confPmWikiPlus[enableCREOL]= Inactive
confPmWikiPlus[enableDBRCH]= Enable
confPmWikiPlus[enableDDMUP]= Enable
confPmWikiPlus[enableDOBML]= Enable
confPmWikiPlus[enableEDHLP]= Enable
confPmWikiPlus[enableFIXUR]= Enable
confPmWikiPlus[enableLOCSS]= Inactive
confPmWikiPlus[enableLOCTM]= Enable
confPmWikiPlus[enableNSAVW]= Enable
confPmWikiPlus[enablePMFRM]= Enable
confPmWikiPlus[enablePMSYN]= Enable
confPmWikiPlus[enablePVCHA]= Enable
confPmWikiPlus[enableRFCNT]= Enable
confPmWikiPlus[enableRWSPN]= Enable
confPmWikiPlus[enableSKNCH]= Enable
confPmWikiPlus[enableSRTBL]= Enable
confPmWikiPlus[enableURLAP]= Enable
confPmWikiPlus[enableWFATM]= Inactive
confPmWikiPlus[enableWFDC]= Inactive
confPmWikiPlus[enableWFRDF]= Inactive
confPmWikiPlus[enableWFRSS]= Inactive
confPmWikiPlus[muBrk]= Enable
confPmWikiPlus[muBrkCL]= Enable
confPmWikiPlus[muBrkCR]= Enable
confPmWikiPlus[muLnBold]= Enable
confPmWikiPlus[muLnItalic]= Enable
confPmWikiPlus[muxpr_cc]= Enable
confPmWikiPlus[muxpr_testargp]= Enable
confPmWikiPlus[muxpr_testargs]= Enable
confPmWikiPlus[muxpr_testp]= Enable
confPmWikiPlus[muxpr_txtfltr]= Enable
confPmWikiPlus[setBLKLST]= Inactive
confPmWikiPlus[setBLKWHY]= Inactive
confPmWikiPlus[setCOPYCD]= Inactive
confPmWikiPlus[setGUIBTN]= Inactive
confPmWikiPlus[setHIDATC]= Inactive
confPmWikiPlus[setMDAMBD]= Inactive
confPmWikiPlus[setMDARMT]= Inactive
confPmWikiPlus[setMDAUPL]= Inactive
confPmWikiPlus[setMRGLME]= Inactive
confPmWikiPlus[setTOC]= Inactive
confPmWikiPlus[setTOCBLKLST]= Inactive
confPmWikiPlus[setTOCCLS]= Inactive
param= enableCREOL NULL change to 1 not enabled
global= enableDBRCH 1 is already enabled (1)
global= enableDDMUP 1 set to 1
global= enableDOBML $LinkFunctions is already enabled ("LinkIMap")
global= enableEDHLP 1 is already enabled (1)
global= enableFIXUR 2000 is already enabled (2000)
param= enableLOCSS NULL change to "Site.LocalCSS" not enabled
global= enableLOCTM 1 is already enabled (1)
global= enableNSAVW 1 is already enabled (1)
global= enablePMFRM 1 is already enabled (1)
global= enablePMSYN 2 is already enabled (2)
global= enablePVCHA 1 is already enabled (1)
global= enableRFCNT 1 set to 1
global= enableRWSPN 1 is already enabled (1)
global= enableSKNCH 1 set to 1
global= enableSRTBL 1 is already enabled (1)
global= enableURLAP 1 is already enabled (1)
param= enableWFATM $EnableFeeds "atom" change to 1 not enabled
param= enableWFDC $EnableFeeds "dc" change to 1 not enabled
param= enableWFRDF $EnableFeeds "rdf" change to 1 not enabled
param= enableWFRSS $EnableFeeds "rss" change to 1 not enabled
param= setBLKLST 10 NULL change to 10 not enabled
param= setBLKWHY 1 NULL change to 1 not enabled
param= setCOPYCD 1 NULL change to 1 not enabled
param= setGUIBTN 1 NULL change to 1 not enabled
param= setHIDATC NULL change to 1 not enabled
param= setMDAMBD $PmMedia "EnableEmbed" change to 1 not enabled
param= setMDARMT $PmMedia "EnableRemoteEmbed" change to 1 not enabled
param= setMDAUPL $PmMedia "EnableUploadEmbed" change to 1 not enabled
param= setMRGLME 1 NULL change to 1 not enabled
param= setTOC $PmToC "Enable" change to 1 not enabled
param= setTOCBLKLST $PmToC "EnableBacklinks" change to 1 not enabled
param= setTOCCLS $PmToC "Closed" change to 1 not enabled
markup= muBrk [[\\]] configured
markup= muBrkCL [[<]] configured
markup= muBrkCR [[>]] configured
markup= muLnBold '* *' configured
markup= muLnItalic '~ ~' configured
MarkupExpr= muxpr_cc cc "multiple strings" configured
MarkupExpr= muxpr_testargp testargp "arguments" configured
MarkupExpr= muxpr_testargs testargs "arguments" configured
MarkupExpr= muxpr_testp testp "paramaters" configured
MarkupExpr= muxpr_txtfltr txtfltr "string filter" configured

tahi Page last modified on 2026 Jul 29 13:41

Edit - History - Recent Changes - WikiHelp - Search - ?Subject="KiwiWiki: Pm Wiki Plus Markup"&Body="From KiwiWiki: Pm Wiki Plus Markup (http://kiwiwiki [period] co [period] nz/TestExtensions/PmWikiPlusMarkup) - Testing the [[Extensions/PmWikiPlus extension markup. See PmWiki Cookbook:PmWikiPlus" | email page as link ]]