Markup that needs to be handled correctly during the revamp. For more information, see WikiRevamp.

Comments

Comments are pieces of text that aren't shown by default. There are several ways to add comments.

Inline comments

Inline comments are added with /* and */. To see the comment directly below this paragraph, click the "Comments" link at the top of this page (to the left of "Info").

Comment blocks

You can create a comment block with {{{#!wiki}}}. To see the comment directly below this paragraph, click the "Comments" link at the top of this page (to the left of "Info").

Comment instructions

Comments can also be created with ## processing instructions. The comment directly below this paragraph is entirely removed from the HTML, and cannot be viewed.

Formatting

Formatting covers basic ways to format text.

Basic formatting:

Code blocks:

This is a preformatted text block

This is a preformatted text block {{{ with curly braces inside }}}

{{{
This is a preformatted text block with a unique string and {{{ with curly braces inside }}}
}}}

   1 This is a Python code block with line numbers enabled and on by default

This is a Python code block with line numbers enabled and off by default

This is a Python code block with line numbers disabled

Linking

Linking allows the user to move from one piece of content to another.

Basic linking:

Linking tests

Description

Code

internal link

WikiName

internal free link

?free link

internal link to sub page

?/SubPage or ?/sub page

internal link to sister page

?../SisterPage or ?link text

internal link with linktext

?some Page

internal link to a section

?subsection of Some Page

internal link with linktext & parameter

?some Page

internal link using a non-existent graphic button

?[ATTACH]

internal link using non-existent graphic button, open new window

?[ATTACH]

internal link using a non-existent graphic button surrounded by whitespace

?[ATTACH]

internal link using a non-existent graphic button surrounded by whitespace, open new window

?[ATTACH]

internal link with text resembling a non-existent graphic, but which is not parsed

?({{attachment:nonexistent.png}})

internal link with text resembling a non-existent graphic, but which is not parsed, open new window

?({{attachment:nonexistent.png}})

link to attachment

nonexistent.png

internal link using an existent graphic button

?SomePage

internal link using non-existent graphic button, open new window

?SomePage

internal link using an existent graphic button surrounded by whitespace

?SomePage

internal link using an existent graphic button surrounded by whitespace, open new window

?SomePage

internal link with text resembling an existent graphic, but which is not parsed

?({{attachment:existent.png}})

internal link with text resembling an existent graphic, but which is not parsed, open new window

?({{attachment:existent.png}})

link to attachment

existent.png

link to attachment of another page

SomePage/image.png

relative link to the current page, where the link text is the embedded contents of a non-existent page

../TestPage

interwiki link

somepage

interwiki free link

somepage

external link

http://example.net/

external link with linktext

example site

external link with linktext, open new window

example site

external link using a non-existent graphic as button

[ATTACH]

external link using a non-existent graphic button, open new window

[ATTACH]

external link using an existent graphic as button

http://example.net/

external link using an existent graphic button, open new window

http://example.net/

border of internal link

WikiNames

avoid an internal link

WikiName

internal link params

?Internal link

external link params

External link (note: &param=value parameters are ignored)

Embedding tests

Description

Code

Non-existent image

[ATTACH]

Non-existent text

nonexistent.txt

Existent image

existent.png

Existent text

   1 
existent.txt

External image

https://raw.githubusercontent.com/mathiasbynens/small/master/jpeg.jpg

External text

https://raw.githubusercontent.com/mathiasbynens/small/master/doscommand.com

Non-existent image with alt text

[ATTACH]

Non-existent text with alt text

example alt text

Existent image with alt text

example alt text

Existent text with alt text

   1 
example alt text

External image with alt text

example alt text

External text with alt text

example alt text

Non-existent image with alt text and attributes

[ATTACH]

Non-existent text with alt text and attributes

example alt text

Existent image with alt text and attributes

example alt text

Existent text with alt text and attributes

   1 
example alt text

External image with alt text and attributes

example alt text

External text with alt text and attributes

example alt text

InterWiki

InterWiki links are shortened links to other sites.

Macros

Macros embed arbitrary content in a page. Common macros are listed here, see /AllMacros for a complete list including uncommon (often hard-to-implement) macros.

Search macro tests

Description

Code

<<FullSearch>>


Display context of search results
Case-sensitive searching

<<FullSearch()>>

<<FullSearch(long_string_with_few_matches)>>

<<FullSearchCached(long_string_with_few_matches)>>

<<GoTo>>

<<PageList(HelpOn)>>

  1. GettingHelpOnIrc
  2. HelpOnAccessControlLists
  3. HelpOnActions
  4. HelpOnActions/AttachFile
  5. HelpOnActions/AttachFile (move_example1.png)
  6. HelpOnActions/AttachFile (move_example2.png)
  7. HelpOnActions/AttachFile (unzip1.png)
  8. HelpOnActions/AttachFile (unzip2.png)
  9. HelpOnActions/AttachFile (unzip3a.png)
  10. HelpOnActions/AttachFile (unzip3b.png)
  11. HelpOnActions/AttachFile (unzip5.png)
  12. HelpOnActions/AttachFile (unzip6.png)
  13. HelpOnActions/AttachFile (unzip7.png)
  14. HelpOnAdministration
  15. HelpOnAdmonitions
  16. HelpOnAuthentication
  17. HelpOnAuthentication/ExternalCookie
  18. HelpOnAutoAdmin
  19. HelpOnCategories
  20. HelpOnComments
  21. HelpOnConfiguration
  22. HelpOnConfiguration/EmailSupport
  23. HelpOnConfiguration/FileAttachments
  24. HelpOnConfiguration/SecurityPolicy
  25. HelpOnConfiguration/SupplementationPage
  26. HelpOnConfiguration/SurgeProtection
  27. HelpOnConfiguration/UserPreferences
  28. HelpOnCreoleSyntax
  29. HelpOnDebianMacros
  30. HelpOnDictionaries
  31. HelpOnDrawings
  32. HelpOnDrawings (anywikitest.adraw)
  33. HelpOnDrawings (twikitest.tdraw)
  34. HelpOnEditLocks
  35. HelpOnEditing
  36. HelpOnEditing (load_draft.png)
  37. HelpOnEditing/SubPages
  38. HelpOnFormatting
  39. HelpOnGraphicalEditor
  40. HelpOnGroups
  41. HelpOnHeadlines
  42. HelpOnImages
  43. HelpOnImages (Grand_Tetons.jpg)
  44. HelpOnImages (button.png)
  45. HelpOnImages (chair.jpg)
  46. HelpOnImages (clock.jpg)
  47. HelpOnImages (duckie.png)
  48. HelpOnImages (fish.jpg)
  49. HelpOnImages (pineapple.jpg)
  50. HelpOnLanguages
  51. HelpOnLinking
  52. HelpOnLinking/NotesLinks
  53. HelpOnLinking/NotesLinks (docprop.jpg)
  54. HelpOnLists
  55. HelpOnLogin
  56. HelpOnMacros
  57. HelpOnMacros/EmbedObject
  58. HelpOnMacros/Include
  59. HelpOnMacros/MailTo
  60. HelpOnMacros/MonthCalendar
  61. HelpOnMoinCommand
  62. HelpOnMoinCommand/ExportDump
  63. HelpOnMoinWikiSyntax
  64. HelpOnMoinWikiSyntax (myexample.adraw)
  65. HelpOnMoinWikiSyntax (myexample.tdraw)
  66. HelpOnNavigation
  67. HelpOnNotification
  68. HelpOnPackageInstaller
  69. HelpOnPageCreation
  70. HelpOnPageDeletion
  71. HelpOnParsers
  72. HelpOnParsers/ReStructuredText
  73. HelpOnParsers/ReStructuredText/RstPrimer
  74. HelpOnProcessingInstructions
  75. HelpOnRules
  76. HelpOnSearching
  77. HelpOnSessions
  78. HelpOnSlideShows
  79. HelpOnSlideShows/000 Introduction
  80. HelpOnSlideShows/100 Creating the slides
  81. HelpOnSlideShows/900 Last but not least: Running your presentation
  82. HelpOnSmileys
  83. HelpOnSpam
  84. HelpOnSpellCheck
  85. HelpOnSubscribing
  86. HelpOnSuperUser
  87. HelpOnSynchronisation
  88. HelpOnTables
  89. HelpOnTables (MiniPage.png)
  90. HelpOnTemplates
  91. HelpOnThemes
  92. HelpOnUpdatingPython
  93. HelpOnUserHandling
  94. HelpOnUserPreferences
  95. HelpOnVariables
  96. HelpOnXapian
  97. HelpOnXmlPages
  98. es/GettingHelpOnIrc
  99. fr/GettingHelpOnIrc
  100. it/GettingHelpOnIrc

Navigation macro tests

Description

Code

<<TableOfContents>>

<<TableOfContents()>>

<<TableOfContents: execution failed [Argument "maxdepth" must be an integer value, not "["] (see also the log)>>

<<TableOfContents(1)>>

<<Anchor(anchorname)>>

<<Navigation(children)>>

<<Navigation(children,2)>>

<<Navigation(siblings)>>

<<Navigation(siblings,2)>>

<<Navigation(slideshow)>>

<<Navigation(slides)>>

<<AttachList(pagename,mimetype)>>

System information macro tests

Description

Code

<<Hits>>

1109

Other macro tests

Description

Code

<<Action(print)>>

print

<<Action(print,Print this page)>>

Print this page

<<Icon(image)>>

<<BR>>


<<RandomQuote>>

Hint: Edit the FortuneCookies page to display randomly selected wisdom here.

<<RandomQuote()>>

Hint: Add your favorite pages to your navibar. See your Quicklinks list in your user preferences.

<<RandomQuote(FortuneCookies)>>

Hint: Search for multiple words, just like Google. See also HelpOnSearching.

<<Include(HelloWorld)>>

<<Include(HelloWorld,"heading")>>

<<Include(HelloWorld,"heading",3)>>

<<FootNote(footnote text)>>

1

<<Date>>

2026-09-14

<<Date()>>

2026-09-14

<<Date(1970-01-01T00:00:00Z)>>

2026-09-14

<<DateTime>>

2026-09-14 06:03:06

<<DateTime()>>

2026-09-14 06:03:06

<<DateTime(1970-01-01T00:00:00Z)>>

2026-09-14 06:03:06

<<GetText(text)>>

text

<<MailTo(email)>>

<email>

<<GetVal(GermanDict,Test)>>

<<MonthCalendar(,,12)>>

<< <  2026 / 12 >  >>
Mon Tue Wed Thu Fri Sat Sun
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Undocumented macro tests

Description

Code

<<Verbatim(")>>

"

<<ShowSmileys>>

Markup Display Markup Display Markup Display Markup Display
X-( X-( :D :D <:( <:( :o :o
:( :( :) :) B) B) :)) :))
;) ;) /!\ /!\ <!> <!> (!) (!)
:-? :-? :\ :\ >:> >:> |) |)
:-( :-( :-) :-) B-) B-) :-)) :-))
;-) ;-) |-) |-) (./) (./) {OK} {OK}
{X} {X} {i} {i} {1} {1} {2} {2}
{3} {3} {*} {*} {o} {o}    

Debian-specific macro tests

Description

Code

<<DebianCodename(stable)>>

trixie

<<DebianCodenameLink(stable)>>

Trixie

<<DebianDate(stable)>>

<<Debian(stable)>>

<<DebianVersion(stable)>>

13.7

<<mid(abc123)>>

<abc123>

Parsers

Parsers allow blocks to use different syntax.

Normal wiki syntax

Alternative "creole" syntax

reStructuredText syntax

XML syntax

XSLT option disabled, please look at HelpOnConfiguration.
XSLT syntax

XSLT option disabled, please look at HelpOnConfiguration.
DocBook syntax

   1 diff syntax is a shortcut for the equivalent highlighter
   2 

   1 cplusplus syntax is a shortcut for the equivalent highlighter

   1 python syntax is a shortcut for the equivalent highlighter

   1 java syntax is a shortcut for the equivalent highlighter

   1 pascal syntax is a shortcut for the equivalent highlighter

   1 irc syntax is a shortcut for the equivalent highlighter

CSV with commas instead of semicolons:

a b c
d e f

CSV with specific columns shown:

col1 col2
val1 val2

CSV with specific columns hidden:

col1 col2 col5
col6
col6
col7 col8 col9 static1 static2
val1 val2 val5 val6 val6 val7 val8 val9 static_val1 static_val2

CSV with column hidden using short syntax:

col2 col3 col4 col5 col6 col6 col7 col8 col9
val2 val3 val4 val5 val6 val6 val7 val8 val9

line 10: Python-formatted text with numbers=off start=10 step=3
line 13: Line numbers increase by 3
line 16: The highlighter's end brackets aren't required to be on a line on their own.

Admonitions

Admonitions are just wiki sections with a class that has some associated CSS.

caution

warning

important

note

tip

green/solid

Processing Instructions

Processing Instructions describe how the page works. There aren't many of them, but each one would need their own test page. See HelpOnProcessingInstructions for details.

Smileys

Smileys are short strings that are converted to images.

These should all become smileys:

The following should not become smileys:

  1. footnote text (1)