Recent Changes - Search:

add Test page

hide Test

Test


hide Topics

Topics

show Changed

Changed

Visitor's book
Site map
pmwiki-2.3.38

Pm Syntax

(redirected from Test.CodeMirror)

Edit this page to see the PmSyntax recipe in action.

Test also on PmWiki.MarkupMasterIndex

WikiTrails

<<|[[PmSyntax]]|>>
<|[[PmSyntax]]|>

^|[[PmSyntax]]|^

<< | PmSyntax | >> PmSyntax

PmSyntax

PageVariables, PageTextVariables

* {$Titlespaced}
* {{$Name}$Titlespaced}
* {{$Group}.{$Name}$Titlespaced}

# {$:variable}
# {{$Name}$:variable}
# {{$Group}.{$Name}$:variable}

(:variable:description:)
:variable:description
variable:description

>>pre<<
{*$variable}, {GroupName/PageName*$variable}
{*$:variable},  {GroupName.PageName*$:variable}

(:template each:)
{=$variable}, {<$variable}, {>$variable},
{=$:variable}, {<$:variable}, {>$:variable},
{$$variable}
>><<
  • Pm Syntax
  • Pm Syntax
  • Pm Syntax
  1. description
  2. description
  3. description
variable
description
variable:description

, {GroupName/PageName*$variable} description, {GroupName.PageName*$:variable}

(:template each:) {=$variable}, {<$variable}, {>$variable}, {=$:variable}, {<$:variable}, {>$:variable}, {$$variable}

Basic markup

>>pre<<
Normal text
''emphasis''
'''strong'''
'''''strong emphasis'''''
@@monospace@@
'*bold*'
'~italic~'
'*'~bold italic~'*' '~'*italic bold*'~'
''emphasis '''strong emphasis''' emphasis''
'''''strong emphasis ''' emphasis''
'''''strong emphasis '' strong'''
'''''' what happens here ''''''
'''''' or here
'' emphasis ''' emphasis strong '''''
''' strong ''  emphasis strong '''''

z [+ a {- b {+ c [- d -] e +} f -} g +] h

'' one [+ two {+ three {- four '^five^' -} six +} seven +] ''''' eight [- nine -] ''' 
>><<

Normal text emphasis strong strong emphasis monospace bold italic bold italic italic bold emphasis strong emphasis emphasis strong emphasis emphasis strong emphasis strong ' what happens here ' or here emphasis emphasis strong strong emphasis strong

z a b c [- d -] e f g h

one two three four five six seven eight nine

>>pre<<
[-small-], [--smaller--]
[+big+], [++bigger++]
'-small-', '+big+'
'^superscript^', '_subscript_'
{+inserted+} (underscore) {+inserted+}
{-deleted-} (strikethrough) {-deleted-} (strikethrough)
[@escaped code@]
[=escaped text=]
[=[[~skiwi]] 2015 Apr 12 10:52=] remove bracketing to test
[=[[~skiwi]]=] remove bracketing to test
>><<

small, smaller big, bigger small, big superscript, subscript inserted (underscore) inserted deleted (strikethrough) deleted (strikethrough) escaped code escaped text [[~skiwi]] 2015 Apr 12 10:52 remove bracketing to test [[~skiwi]] remove bracketing to test

----  horizontal line
 ---- not a horizontal line
-> test \ join line \
test \\ line break \\
broken line
[[<<]] line break [[<]] clear left [[>]] clear right
-< with trailing spaces \\       
with more trailing spaces \      
showing markup effectivity
!!!!!! heading
!!!!!!! heading too
 !!!! not a heading

horizontal line

---- not a horizontal line

test \ join line test \\ line break
broken line


line break
clear left >? clear right

with trailing spaces \\

with more trailing spaces \ showing markup effectivity

heading
! heading too

!!!! not a heading

Lists

* bullet
# number
#*#* check correct highlighting
** indented {+list+}
## indented {-bullet-}
-> indent
-< hanging '''indent'''
--> more ''indented''
--< more hanging indent
 **** not a list
:definition:list
::subitem:definition list
:::subsubitem : definitionlist
:: not a definition list
  • bullet
  1. number
  2. *#* check correct highlighting
    • indented list
    1. indented bullet
indent
hanging indent
more indented
more hanging indent

**** not a list

definition
list
subitem
definition list
subsubitem
definitionlist

:: not a definition list

Block markup

>>frame<<
block
>><<
(:div:)
div
(:divend:)
[@ pre
formatted
@]
[= prevent
formatting
=]
(:article1 id=article class="glossary":)(:article1end:)
(:section2 id=s1:)(:section2end:)
(:header:)(:headerend:)
(:footer:)(:footerend:)
(:aside:)(:asideend:)
(:address:)(:addressend:)
(:nav:)(:navend:)
>>rframe<<
right block
>>lframe<<
left block
>><<

block

div

 pre
formatted

prevent formatting

(:article1end:)
(:section2end:)
(:headerend:)
(:footerend:)

Links

>>pre<<
!!! External links
https://kiwiwiki.co.nz
[[https://kiwiwiki.co.nz]]
[[https://kiwiwiki.co.nz"tool tip"]]|is this a caption
[[https://kiwiwiki.co.nz | link text]]|or is this?
[[link text -> https://kiwiwiki.co.nz]] | [-caption-]
[[link text -> https://kiwiwiki.co.nz]]continued

>><<
>>pre<<
!!! Page links
[[PageName]]
[[page name]]
[[page (name)]]
[[PageName | link text]] or [[Page Name | [link text] ]]
[[PageName | + ]] (titled link)
[[PageName | # ]] (anonymous numerical reference link)
[[PageName"tool tip"]]
[[link text -> PageName]]
[[#anchor]] (to create an anchor)
[[#anchor | link text]] (to refer to an anchor)
[[anchor | # ]] (anonymous numerical reference link)
[[PageName#anchor | link text]] (to refer to an anchor in another page)
>><<

Page links

PageName page name page link text or [link text] Page Name (titled link) [1] (anonymous numerical reference link) PageName link text (to create an anchor) link text (to refer to an anchor) [2]? (anonymous numerical reference link) link text (to refer to an anchor in another page)

>>pre<<
!!! WikiGroup links
[[GroupName/]] or [[Group name/]]
[[GroupName"tool tip"]]
[[GroupName.]]
[[GroupName/PageName]] or [[GroupName/page name]]
[[(GroupName.)page name]]
[[~Author Name]]
[[~Author Name | +]]
[[~Author Name | #]]
[[~Author Name | link text]]
[[~Author Name"tool tip"]]
[[!Category Name]]
>><<
>>pre<<
!!! [[PmWiki/InterMap]] links
[[Path:/path/local_document.html]]
[[Wikipedia:WikiWikiWeb]]
>><<
>>pre<<
Attach:LinkImageExample.png
Attach:LinkImageExample.png"link image example"
Attach:LinkImageExample.png|[-Link image example 1-]
[[Attach:LinkImageExample.png]]
[[Attach:LinkImageExample.png"link image example"]]
[[Attach:LinkImageExample.png]]|[-Link image example 2-]

https://kiwiwiki.nz/pmwiki/uploads/Test/CodeMirror/LinkImageExample.png|[-caption 1-]
[[{$FullName} | https://kiwiwiki.nz/pmwiki/uploads/Test/CodeMirror/LinkImageExample.png]]|[- caption 2 -]
>><<

Comments

%comment% comment to end of line
%comment newwin% another comment to eol
%newwin comment% comment to eol
before %comment% a comment %% and after
before %comment newwin% a comment %% after
start %newwin comment% a comment %% end

comment to end of line another comment to eol comment to eol before a comment and after before a comment after start a comment end

(:comment this is a comment:) followed by text
(:commentthis is not a comment:) followed by text

followed by text (:commentthis is not a comment:) followed by text

>>comment<<
this is a comment
>><<
 >>comment<< ''not a comment''
 >><<
>>this is a comment here<< ''inside a comment''
>><<
>>this is notacomment<< ''not a comment here''
>><<

this is a comment

>>comment<< not a comment >><<

not a comment here

Simple tables

||width=*
||[[PmWiki/Tables]] |||| '''test''' || '''simple'''||''table''||  
|| '''Document Info''' ||||
|| ''Category''||[[!FAQ]] ||
|| ''Modified''||{$LastModified}||
|| ''[[{$Name}?action=diff | by]]''||{$LastModifiedBy}||

Tablestestsimpletable
Document Info
CategoryFAQ
Modified2024 Apr 28 15:06
byskiwi

Advanced tables

(:table class="tabtable":)
(:headnr:) Heading content
(:head:)
!!! heading cell content
(:cellnr:)
'''new row content'''
(:cell:) ''cell content''
(:cellnr colspan=2:)
||!Test: ||example||with: colon ||
||Test:  ||example||without colon ||
(:tableend:)
Heading content

heading cell content

new row content

cell content
Test:examplewith: colon
Test:examplewithout colon

Combination markup

>>pre<<
{+''inserted italic''+}
'''[-bold smaller-]'''
>><<

inserted italic bold smaller

>>pre<<
(:include PageName:)
(:include PageName#start#end lines=n paras=n:)
(:include PageName1 PageName2 PageName3:)
Attach:image.png, Attach:"my doc.docx", Attach:'download.zip'
Path:/pathto/filename.ext, news:, gopher:, nap:, file:, tel:+64-00-0000-0000, geo:
(:redirect PageName#anchor status=301 from=name quiet=1:)
(:nogroupheader:)
(:nogroupfooter:)
(:description a broad range of tests for CodeMirror:)
(:keywords CodeMirror, test:)
(:nolinkwikiwords:)
(:linebreaks:)
>><<

Used by Code Mirror

variable: variable from Test.PageName

Attach:image.png Δ, Attach:"my doc.docx", Attach:'download.zip' Path:/pathto/filename.ext, news:, gopher:, nap:, file:, tel:+64-00-0000-0000, geo: (:redirect PageName#anchor status=301 from=name quiet=1:)


D:\Home\KiwiWiki\pmwiki\cookbook\autotelnew.php: 2024-04-10new defaults: +64; 4; 0 ignorePrefix: "(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))" ignoreSuffix: (?!\s?[0-9]) visualSeparatorVal: \s|[-]|\&nbsp;|\&\#8209; visualSeparator: (?:\s|[-]|\&nbsp;|\&\#8209;) openParen: [\(]? closParen: (?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) countryCode: (\+\d{1,3}) countryCodeSep: (?:(\+\d{1,3}) (?:\s|[-]|\&nbsp;|\&\#8209;) ? ) areaCodeMobl: ((?:[\(]0?\d{2}[\)] | [\(]? 0?\d{2}(?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) ) (?:\s|[-]|\&nbsp;|\&\#8209;) ?) areaCodeLand: ((?:[\(]0?\d{1}[\)] | [\(]? 0\d{1}(?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) ) (?:\s|[-]|\&nbsp;|\&\#8209;) ?) serviceCode: (0[58]\d{2,2}) subscriberNumberMobile: (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3,4}) subscriberNumberLand: (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{4}|\d{4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3}) srve: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))[\(]? (0[58]\d{2,2}) (?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3,4}) (?!\s?[0-9])/xi mobl: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))(?:(\+\d{1,3}) (?:\s|[-]|\&nbsp;|\&\#8209;) ? ) ? ((?:[\(]0?\d{2}[\)] | [\(]? 0?\d{2}(?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) ) (?:\s|[-]|\&nbsp;|\&\#8209;) ?) (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3,4}) (?!\s?[0-9])/xi land: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))(?:(?:(\+\d{1,3}) (?:\s|[-]|\&nbsp;|\&\#8209;) ? ) ? ((?:[\(]0?\d{1}[\)] | [\(]? 0\d{1}(?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) ) (?:\s|[-]|\&nbsp;|\&\#8209;) ?) )? (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{4}|\d{4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3}) (?!\s?[0-9])/xi D:\Home\KiwiWiki\pmwiki\cookbook\totalcounter.php: 2024-12-12 using "wiki.d" with action=browse, log=1, IP lookup: 1

D:\Home\KiwiWiki\pmwiki\cookbook\nztoponew.php
: '2024-04-10new'

markup: '/\(:nztopo\s+?((?:ll=[+-]?\d{1,2}[.]\d+[,][+-]?[1]?\d{1,2}[.]\d+)|(?:llbs=[+-]?\d{1,2}[.]\d+[,][+-]?[1]?\d{1,2}[.]\d+(?:[;][+-]?\d{1,2}[.]\d+[,][+-]?[1]?\d{1,2}[.]\d+)+)|(?:kml=(?:(?<q1>\'|\")(?:https?:\/\/.*)\k<q1>|(?<q2>\'|\"|)(?:(?:[-~,[:alnum:]\x80-\xfe]+(?:\.|\/)){0,2}[-\w\.\, !=\+\#\x80-\xfe]+\.kml)\k<q2>|https?:\/\/[^\s]*))|(?:gpx=(?:(?<q6>\'|\"|)(?:(?:[-~,[:alnum:]\x80-\xfe]+(?:\.|\/)){0,2}[-\w\.\, !=\+\#\x80-\xfe]+\.gpx)\k<q6>|(?<q7>\'|\")(?:https?:\/\/.*)\k<q7>|https?:\/\/[^\s]*))|(?:nzne=\d{7}(?:[.]\d{0,3})?[,]\d{7}(?:[.]\d{0,3})?)|(?:nzbs=\d{7}(?:[.]\d{0,3})?[,]\d{7}(?:[.]\d{0,3})?(?:[;]\d{7}(?:[.]\d{0,3})?[,]\d{7}(?:[.]\d{0,3})?)+)|(?:mapref=(?<q8>\'|\"|)(?:[ABC][A-Z][0-4]\d[ ]?\d{6})\k<q8>)|(?:kml2=(?:(?<q3>\'|\")(?:https?:\/\/.*)\k<q3>|https?:\/\/[^\s]*))|(?:kml3=(?:(?<q4>\'|\")(?:https?:\/\/.*)\k<q4>|https?:\/\/[^\s]*))|(?:kml4=(?:(?<q5>\'|\")(?:https?:\/\/.*)\k<q5>|https?:\/\/[^\s]*)))\s*?(?:(height=\d{1,5}(?:px)?)\s*|(width=\d{1,5}(?:px)?)\s*|(pin=[01])\s*|(label=(?<q9>\'|\")(?:.+?)\k<q9>)\s*|(zoom=\d{1,2})\s*|(float=(?:left|right))\s*|(clear=(?:left|right|both))\s*){0,7}\s*?(?:(caption=(?<q10>\'|\")(?:.+?)\k<q10>)\s*){0,1}\s*?:\)/i'
D:\Home\KiwiWiki\pmwiki\cookbook\chordpronew.php: '2022-12-01new'

D:\Home\KiwiWiki\pmwiki\cookbook\nzdocnew.php
: '2024-04-10new'

markup: '/\(:nzdoc\s*(?:(?:(id=(?:[0-9]{9}|[0-9\-a-f]{36}|(?:NZ|DOC)-[a-z]{3}|[\\&\&#8217;'\(\)\.\-\/a-z&#257;&#275;&#299;&#333;&#363;]+))|(type=(?<q1>\'|\"|)(?:hut|track|campsite)\k<q1>)|(content=(?:alert|detail|region|all|dump|check|find|list))|(show=alert(s)?; #(?:[a-z]+,)*[a-z]+))\s*){1,4}(?:(?:(h=[12345])|(float=(?:left|right))|(clear=(?:left|right|both)))\s*){0,4}\s*:\)/i'
return: 'NZDoCnew'

D:\Home\KiwiWiki\pmwiki\extensions\PmWikiPlus\PmWikiPlus.php= 2024-08-19 confPmWikiPlus[debugPmWikiPlus]= true confPmWikiPlus[=dir]= D:\Home\KiwiWiki\pmwiki\extensions/PmWikiPlus confPmWikiPlus[=url]= http://kiwiwiki.co.nz/pmwiki/extensions/PmWikiPlus confPmWikiPlus[enableCREOL]= false confPmWikiPlus[enableDBRCH]= true confPmWikiPlus[enableDDMUP]= true confPmWikiPlus[enableDOBML]= true confPmWikiPlus[enableEDHLP]= false confPmWikiPlus[enableFIXUR]= true confPmWikiPlus[enableLOCTM]= true confPmWikiPlus[enableNSAVW]= true confPmWikiPlus[enablePMFRM]= false confPmWikiPlus[enablePMSYN]= true confPmWikiPlus[enablePVCHA]= false confPmWikiPlus[enableRFCNT]= false confPmWikiPlus[enableRWSPN]= false confPmWikiPlus[enableSKNCH]= false confPmWikiPlus[enableSRTBL]= false confPmWikiPlus[enableURLAP]= false confPmWikiPlus[enableWFATM]= false confPmWikiPlus[enableWFDC]= false confPmWikiPlus[enableWFRDF]= false confPmWikiPlus[enableWFRSS]= false confPmWikiPlus[muAtch]= true confPmWikiPlus[muBrk]= true confPmWikiPlus[muBrkCL]= true confPmWikiPlus[muBrkCR]= true confPmWikiPlus[muLnBold]= true confPmWikiPlus[muLnItalic]= true confPmWikiPlus[setBLKLST]= true confPmWikiPlus[setBLKWHY]= true confPmWikiPlus[setCOPYCD]= false confPmWikiPlus[setGUIBTN]= true confPmWikiPlus[setMRGLME]= false param= enableCREOL $ EnableCreole             not changed to "" global= enableDBRCH $ EnableRCDiffBytes        is already enabled (1) global= enableDDMUP $ EnableUploadDrop         set to "1" global= enableDOBML $ LinkFunctions            is already enabled (ObfuscateLinkIMap) param= enableEDHLP $ EnableEditAutoText       not changed to "1" global= enableFIXUR $ EnableGuiEditFixUrl      is already enabled (2000) global= enableLOCTM $ EnableLocalTimes         is already enabled (1) global= enableNSAVW $ EnableNotSavedWarning    is already enabled (1) param= enablePMFRM $ EnablePmForm             not changed to "" global= enablePMSYN $ EnablePmSyntax           is already enabled (2) param= enablePVCHA $ EnablePreviewChanges     not changed to "1" param= enableRFCNT $ EnableRefCount           not changed to "" param= enableRWSPN $ EnableSimpleTableRowspan not changed to "1" param= enableSKNCH $ EnableAutoSkinList       not changed to "1" param= enableSRTBL $ EnableSortable           not changed to "1" param= enableURLAP $ EnableUrlApprove         not changed to "" param= enableWFATM $ EnableFeeds atom         not changed to "" param= enableWFDC $ EnableFeeds dc           not changed to "" param= enableWFRDF $ EnableFeeds rdf          not changed to "" param= enableWFRSS $ EnableFeeds rss          not changed to "" global= setBLKLST  $ EnableBlocklist          is already enabled (10) global= setBLKWHY  $ EnableWhyBlocked         is already enabled (1) param= setCOPYCD  $ EnableCopyCode           not changed to "1" global= setGUIBTN  $ EnableGUIButtons         is already enabled (1) param= setMRGLME  $ EnableMergeLastMinorEdit not changed to "1" markup= muAtch     Attach     configured markup= muBrk      [[\\]]     configured markup= muBrkCL    [[<]]      configured markup= muBrkCR    [[>]]      configured markup= muLnBold   '* *'      configured markup= muLnItalic '~ ~'      configured
= D:\Home\KiwiWiki\pmwiki\extensions\MessagesReplacementnew\MessagesReplacementnew.php 2024-09-16new confMessagesReplacement[MessagesReplacementDebug]= off confMessagesReplacement[MessagesReplacementHeading]= on confMessagesReplacement[MessagesReplacementDetail]= hide confMessagesReplacement[=dir]= D:\Home\KiwiWiki\pmwiki\extensions/MessagesReplacementnew confMessagesReplacement[=url]= http://kiwiwiki.co.nz/pmwiki/extensions/MessagesReplacementnew <hr>D:\Home\KiwiWiki\pmwiki\extensions\KWTLQuestionVars\KWTLQuestionVars.php: '2024-06-30' conf[]: akey: debugKWTLQuestionVars, =dir, =url, KWTLQuestionVarsHidden
Array ( [debugKWTLQuestionVars] => true [=dir] => D:\Home\KiwiWiki\pmwiki\extensions/KWTLQuestionVars [=url] => http://kiwiwiki.co.nz/pmwiki/extensions/KWTLQuestionVars [KWTLQuestionVarsHidden] => hidden )
<hr>D:\Home\KiwiWiki\pmwiki\extensions\PmWikiInfo\PmWikiInfo.php: '2024-11-05' conf[]: akey: debugKWTLQuestionVars, debugPmWikiInfo, stylesPmWikiInfo, =dir, =url
Array ( [debugKWTLQuestionVars] => [debugPmWikiInfo] => false [stylesPmWikiInfo] => [=dir] => D:\Home\KiwiWiki\pmwiki\extensions/PmWikiInfo [=url] => http://kiwiwiki.co.nz/pmwiki/extensions/PmWikiInfo )
PmWiki Info markup: '/\(:pmwikiinfo(.*)?:\)/i'
D:\Home\KiwiWiki\pmwiki\cookbook\autotelnew.php: 2024-04-10new defaults: +64; 4; 0 ignorePrefix: "(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))" ignoreSuffix: (?!\s?[0-9]) visualSeparatorVal: \s|[-]|\&nbsp;|\&\#8209; visualSeparator: (?:\s|[-]|\&nbsp;|\&\#8209;) openParen: [\(]? closParen: (?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) countryCode: (\+\d{1,3}) countryCodeSep: (?:(\+\d{1,3}) (?:\s|[-]|\&nbsp;|\&\#8209;) ? ) areaCodeMobl: ((?:[\(]0?\d{2}[\)] | [\(]? 0?\d{2}(?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) ) (?:\s|[-]|\&nbsp;|\&\#8209;) ?) areaCodeLand: ((?:[\(]0?\d{1}[\)] | [\(]? 0\d{1}(?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) ) (?:\s|[-]|\&nbsp;|\&\#8209;) ?) serviceCode: (0[58]\d{2,2}) subscriberNumberMobile: (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3,4}) subscriberNumberLand: (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{4}|\d{4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3}) srve: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))[\(]? (0[58]\d{2,2}) (?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3,4}) (?!\s?[0-9])/xi mobl: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))(?:(\+\d{1,3}) (?:\s|[-]|\&nbsp;|\&\#8209;) ? ) ? ((?:[\(]0?\d{2}[\)] | [\(]? 0?\d{2}(?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) ) (?:\s|[-]|\&nbsp;|\&\#8209;) ?) (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3,4}) (?!\s?[0-9])/xi land: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))(?:(?:(\+\d{1,3}) (?:\s|[-]|\&nbsp;|\&\#8209;) ? ) ? ((?:[\(]0?\d{1}[\)] | [\(]? 0\d{1}(?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) ) (?:\s|[-]|\&nbsp;|\&\#8209;) ?) )? (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{4}|\d{4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3}) (?!\s?[0-9])/xi D:\Home\KiwiWiki\pmwiki\cookbook\totalcounter.php: 2024-12-12 using "wiki.d" with action=browse, log=1, IP lookup: 1

D:\Home\KiwiWiki\pmwiki\cookbook\nztoponew.php
: '2024-04-10new'

markup: '/\(:nztopo\s+?((?:ll=[+-]?\d{1,2}[.]\d+[,][+-]?[1]?\d{1,2}[.]\d+)|(?:llbs=[+-]?\d{1,2}[.]\d+[,][+-]?[1]?\d{1,2}[.]\d+(?:[;][+-]?\d{1,2}[.]\d+[,][+-]?[1]?\d{1,2}[.]\d+)+)|(?:kml=(?:(?<q1>\'|\")(?:https?:\/\/.*)\k<q1>|(?<q2>\'|\"|)(?:(?:[-~,[:alnum:]\x80-\xfe]+(?:\.|\/)){0,2}[-\w\.\, !=\+\#\x80-\xfe]+\.kml)\k<q2>|https?:\/\/[^\s]*))|(?:gpx=(?:(?<q6>\'|\"|)(?:(?:[-~,[:alnum:]\x80-\xfe]+(?:\.|\/)){0,2}[-\w\.\, !=\+\#\x80-\xfe]+\.gpx)\k<q6>|(?<q7>\'|\")(?:https?:\/\/.*)\k<q7>|https?:\/\/[^\s]*))|(?:nzne=\d{7}(?:[.]\d{0,3})?[,]\d{7}(?:[.]\d{0,3})?)|(?:nzbs=\d{7}(?:[.]\d{0,3})?[,]\d{7}(?:[.]\d{0,3})?(?:[;]\d{7}(?:[.]\d{0,3})?[,]\d{7}(?:[.]\d{0,3})?)+)|(?:mapref=(?<q8>\'|\"|)(?:[ABC][A-Z][0-4]\d[ ]?\d{6})\k<q8>)|(?:kml2=(?:(?<q3>\'|\")(?:https?:\/\/.*)\k<q3>|https?:\/\/[^\s]*))|(?:kml3=(?:(?<q4>\'|\")(?:https?:\/\/.*)\k<q4>|https?:\/\/[^\s]*))|(?:kml4=(?:(?<q5>\'|\")(?:https?:\/\/.*)\k<q5>|https?:\/\/[^\s]*)))\s*?(?:(height=\d{1,5}(?:px)?)\s*|(width=\d{1,5}(?:px)?)\s*|(pin=[01])\s*|(label=(?<q9>\'|\")(?:.+?)\k<q9>)\s*|(zoom=\d{1,2})\s*|(float=(?:left|right))\s*|(clear=(?:left|right|both))\s*){0,7}\s*?(?:(caption=(?<q10>\'|\")(?:.+?)\k<q10>)\s*){0,1}\s*?:\)/i'
D:\Home\KiwiWiki\pmwiki\cookbook\chordpronew.php: '2022-12-01new'

D:\Home\KiwiWiki\pmwiki\cookbook\nzdocnew.php
: '2024-04-10new'

markup: '/\(:nzdoc\s*(?:(?:(id=(?:[0-9]{9}|[0-9\-a-f]{36}|(?:NZ|DOC)-[a-z]{3}|[\\&\&#8217;'\(\)\.\-\/a-z&#257;&#275;&#299;&#333;&#363;]+))|(type=(?<q1>\'|\"|)(?:hut|track|campsite)\k<q1>)|(content=(?:alert|detail|region|all|dump|check|find|list))|(show=alert(s)?; #(?:[a-z]+,)*[a-z]+))\s*){1,4}(?:(?:(h=[12345])|(float=(?:left|right))|(clear=(?:left|right|both)))\s*){0,4}\s*:\)/i'
return: 'NZDoCnew'

D:\Home\KiwiWiki\pmwiki\extensions\PmWikiPlus\PmWikiPlus.php= 2024-08-19 confPmWikiPlus[debugPmWikiPlus]= true confPmWikiPlus[=dir]= D:\Home\KiwiWiki\pmwiki\extensions/PmWikiPlus confPmWikiPlus[=url]= http://kiwiwiki.co.nz/pmwiki/extensions/PmWikiPlus confPmWikiPlus[enableCREOL]= false confPmWikiPlus[enableDBRCH]= true confPmWikiPlus[enableDDMUP]= true confPmWikiPlus[enableDOBML]= true confPmWikiPlus[enableEDHLP]= false confPmWikiPlus[enableFIXUR]= true confPmWikiPlus[enableLOCTM]= true confPmWikiPlus[enableNSAVW]= true confPmWikiPlus[enablePMFRM]= false confPmWikiPlus[enablePMSYN]= true confPmWikiPlus[enablePVCHA]= false confPmWikiPlus[enableRFCNT]= false confPmWikiPlus[enableRWSPN]= false confPmWikiPlus[enableSKNCH]= false confPmWikiPlus[enableSRTBL]= false confPmWikiPlus[enableURLAP]= false confPmWikiPlus[enableWFATM]= false confPmWikiPlus[enableWFDC]= false confPmWikiPlus[enableWFRDF]= false confPmWikiPlus[enableWFRSS]= false confPmWikiPlus[muAtch]= true confPmWikiPlus[muBrk]= true confPmWikiPlus[muBrkCL]= true confPmWikiPlus[muBrkCR]= true confPmWikiPlus[muLnBold]= true confPmWikiPlus[muLnItalic]= true confPmWikiPlus[setBLKLST]= true confPmWikiPlus[setBLKWHY]= true confPmWikiPlus[setCOPYCD]= false confPmWikiPlus[setGUIBTN]= true confPmWikiPlus[setMRGLME]= false param= enableCREOL $ EnableCreole             not changed to "" global= enableDBRCH $ EnableRCDiffBytes        is already enabled (1) global= enableDDMUP $ EnableUploadDrop         set to "1" global= enableDOBML $ LinkFunctions            is already enabled (ObfuscateLinkIMap) param= enableEDHLP $ EnableEditAutoText       not changed to "1" global= enableFIXUR $ EnableGuiEditFixUrl      is already enabled (2000) global= enableLOCTM $ EnableLocalTimes         is already enabled (1) global= enableNSAVW $ EnableNotSavedWarning    is already enabled (1) param= enablePMFRM $ EnablePmForm             not changed to "" global= enablePMSYN $ EnablePmSyntax           is already enabled (2) param= enablePVCHA $ EnablePreviewChanges     not changed to "1" param= enableRFCNT $ EnableRefCount           not changed to "" param= enableRWSPN $ EnableSimpleTableRowspan not changed to "1" param= enableSKNCH $ EnableAutoSkinList       not changed to "1" param= enableSRTBL $ EnableSortable           not changed to "1" param= enableURLAP $ EnableUrlApprove         not changed to "" param= enableWFATM $ EnableFeeds atom         not changed to "" param= enableWFDC $ EnableFeeds dc           not changed to "" param= enableWFRDF $ EnableFeeds rdf          not changed to "" param= enableWFRSS $ EnableFeeds rss          not changed to "" global= setBLKLST  $ EnableBlocklist          is already enabled (10) global= setBLKWHY  $ EnableWhyBlocked         is already enabled (1) param= setCOPYCD  $ EnableCopyCode           not changed to "1" global= setGUIBTN  $ EnableGUIButtons         is already enabled (1) param= setMRGLME  $ EnableMergeLastMinorEdit not changed to "1" markup= muAtch     Attach     configured markup= muBrk      [[\\]]     configured markup= muBrkCL    [[<]]      configured markup= muBrkCR    [[>]]      configured markup= muLnBold   '* *'      configured markup= muLnItalic '~ ~'      configured
= D:\Home\KiwiWiki\pmwiki\extensions\MessagesReplacementnew\MessagesReplacementnew.php 2024-09-16new confMessagesReplacement[MessagesReplacementDebug]= off confMessagesReplacement[MessagesReplacementHeading]= on confMessagesReplacement[MessagesReplacementDetail]= hide confMessagesReplacement[=dir]= D:\Home\KiwiWiki\pmwiki\extensions/MessagesReplacementnew confMessagesReplacement[=url]= http://kiwiwiki.co.nz/pmwiki/extensions/MessagesReplacementnew <hr>D:\Home\KiwiWiki\pmwiki\extensions\KWTLQuestionVars\KWTLQuestionVars.php: '2024-06-30' conf[]: akey: debugKWTLQuestionVars, =dir, =url, KWTLQuestionVarsHidden
Array ( [debugKWTLQuestionVars] => true [=dir] => D:\Home\KiwiWiki\pmwiki\extensions/KWTLQuestionVars [=url] => http://kiwiwiki.co.nz/pmwiki/extensions/KWTLQuestionVars [KWTLQuestionVarsHidden] => hidden )
<hr>D:\Home\KiwiWiki\pmwiki\extensions\PmWikiInfo\PmWikiInfo.php: '2024-11-05' conf[]: akey: debugKWTLQuestionVars, debugPmWikiInfo, stylesPmWikiInfo, =dir, =url
Array ( [debugKWTLQuestionVars] => [debugPmWikiInfo] => false [stylesPmWikiInfo] => [=dir] => D:\Home\KiwiWiki\pmwiki\extensions/PmWikiInfo [=url] => http://kiwiwiki.co.nz/pmwiki/extensions/PmWikiInfo )
PmWiki Info markup: '/\(:pmwikiinfo(.*)?:\)/i'

Nested markup

''[[Test/]]''
[[Test/ | ''test group'']]

:xxx: [[CodeMirror]] yyy  [[HomePage]]
:xxx: [[CodeMirror]] yyy: [[HomePage]]
xxx:  [[CodeMirror]] yyy: [[HomePage]] 
xxx:  [[CodeMirror]] yyy  [[HomePage]]
xxx   [[CodeMirror]] yyy: [[HomePage]]
xxx   [[CodeMirror]] yyy  [[HomePage]]
xxx::  [[CodeMirror]] yyy: [[HomePage]]
::xxx  [[CodeMirror]] yyy: [[HomePage]]

||!Test: ||example||without colon ||
||Test:  ||example||with: colon ||

Shouldn't be a link, no? file:

Test
test group

xxx
CodeMirror yyy HomePage
xxx
CodeMirror yyy: HomePage
xxx: CodeMirror yyy: HomePage

xxx CodeMirror yyy: HomePage
xxx CodeMirror yyy HomePage

xxx:: CodeMirror yyy: HomePage
xxx CodeMirror yyy
HomePage
Test:examplewithout colon
Test:examplewith: colon

Shouldn't be a link, no? file:

!! Illustration for the PmWiki Cookbook page
Text in a paragraph can be formatted '''strong''', ''emphasis'', {+inserted+}, {-deleted-}, [+bigger+], [-smaller-], and '^superscript^', or '_subscript_'.

Lists and indentation of various types are highlighted:
* bullets
## numbers
:definition: lists
--> indentation
---< hanging indentation

[@Escaped code@], [=escaped text=], @@monospace@@, and %red%formatting%% can be seen, as can line joins \
and [[<<]] line breaks \\
not to mention the horizonal rule.
----
||width=*
||! Simple tables ''work'' '''very''' nicely ||||
|| showing %red%highlighted%% || markup ||
(:div2 class=example:) Directives
themselves are coloured
(:div2end:)
(:table class='tabtable':)
(:cellnr:)Advanced table markup
(:cell:)is coloured
(:tableend:)
(:if true:)
>>block markup<<
is shown
>><<
(:ifend:)
[[#anchor]]
Of course [[https://pmwiki.org/ | links]] of all [[#anchor|types]] show up.

A variety of {$variables} and {$:pagetextvariables} can be seen, and %comments% are grayed out%%. Another comment example is
>>comment<<
Inside the comment.
>><<

Enjoy!

Illustration for the PmWiki Cookbook page

Text in a paragraph can be formatted strong, emphasis, inserted, deleted, bigger, smaller, and superscript, or subscript.

Lists and indentation of various types are highlighted:

  • bullets
    1. numbers
definition
lists
indentation
hanging indentation

Escaped code, escaped text, monospace, and formatting can be seen, as can line joins and
line breaks
not to mention the horizonal rule.


Simple tables work very nicely
showing highlightedmarkup
Directives

themselves are coloured

Advanced table markup is coloured

is shown


Of course links of all types show up.

A variety of and can be seen, and are grayed out. Another comment example is

Inside the comment.

Enjoy!

tahi
Page last modified on 2024 Apr 28 15:06

Edit -
History -
Recent Changes -
WikiHelp -
Search -
email page as link -> mailto:?Subject="KiwiWiki: Pm Syntax"&Body=