Skip to content

SyntaxReference

Olga Zamaraeva edited this page Jun 7, 2021 · 6 revisions

NB: The content of this page refers to the MoinMoin markup language. For GitHub markdown language used here, see e.g.: Mastering markdown.

Original page begins below:

#pragma section-numbers off
#acl All:admin,read,write,delete,revert
##language:en

This page tries to use each supported markup element at least once.

'''Index'''
[[TableOfContents(2)]]

Index

Contents

  1. Headers
    1. Header 2
  2. Font styles
    1. Syntax Hilighting
  3. Smileys
  4. Hyperlinks
    1. Internal
    2. External
    3. Escaping WikiNames
  5. Blockquote
  6. Bullet list
  7. Numbered list
  8. Descriptions + Definitions
  9. Code display
  10. Tables
    1. General table layout and HTML like options
    2. Cell width
    3. Spanning rows and columns
    4. Alignment
    5. Colors
    6. CSV Tables
  11. Rules
  12. Macros

Headers

Header 2

Header 3

Header 4

Header 5

Font styles

Normal text, ''emphasized'', '''strong''', __underline__, ,,subscript,,, ^superscript^, `typewriter` and {{{typewriter

.}}}

Normal text, emphasized, strong, underline, subscript, superscript, typewriter and typewriter.

Syntax Hilighting

  •    1 # python code
       2 print code.colorize("abc", 1 + 1)
    

Smileys

Markup Display Markup Display Markup Display Markup Display
X-( 😡 :D 😁 <:( 😷 :o 😧
:( 😕 :) 🙂 B) 😎 :)) 🤣
;) 😉 /!\ ⚠️ <!> ⚠️ (!) 💡
:-? 😛 :\ 😖 >:> 👿 |) 🧐
:-( ☹️ :-) 😃 B-) 🤓 :-)) 🤣
;-) 😉 |-) 😔 (./) {OK} 🆗
{X} {i} ℹ️ {1} 1️⃣ {2} 2️⃣
{3} 3️⃣ {*} {o}    

Hyperlinks

Internal

 * MoinMoin
 * MoinMoin/TextFormatting
 * MoinMoin/InstallDocs 
 * ../InstallDocs 
 * /SubPage
 * Self:InterWiki
[#anchorname Anchor Link]

Anchor Link

External

 * http://moin.sourceforge.net/
 * [http://moin.sourceforge.net/]
 * [http://moin.sourceforge.net/ MoinMoin Sourceforge Homepage]
 * [^http://moin.sourceforge.net/ MoinMoin Sourceforge Homepage - in new window]
 * [http://moin.sourceforge.net/moinmoin.gif]
 * http://moin.sourceforge.net/moinmoin.gif
 * [http://moin.sourceforge.net/moinmoin.gif moinmoin.gif]
 * MeatBall:InterWiki
 * wiki:MeatBall/InterWiki
 * [wiki:MeatBall/InterWiki]
 * [wiki:MeatBall/InterWiki InterWiki page on MeatBall]
 * [file://servername/full/path/to/file/filename%20with%20spaces.txt Click here to read filename with spaces.txt]
 * jh@web.de

Escaping WikiNames

Wiki''''''Name
Wiki``Name

WikiName WikiName

Blockquote

 This is indented
  Even more
  • This is indented
    • Even more

Bullet list

 * item 1

 * item 2, with gap
 * item 3
   * item 3.1
  • item 1
  • item 2, with gap
  • item 3
    • item 3.1

Numbered list

 1. item 1
   i. item 1
   i. item 2
  1. item 1
    1. item 1
    2. item 2
 1. item 2
   a. item 1
   a. item 2
  1. item 2
    1. item 1
    2. item 2

Descriptions + Definitions

 Term:: Description
 Label:: Definition

Term
Description

Label
Definition

Code display

  • line 1 indented 4 characters

Tables

General table layout and HTML like options

 ||||||<tablewidth="80%">'''Heading'''||
 ||cell 1||cell2||cell 3||
 ||<rowspan=2> spanning rows||||<bgcolor='#E0E0FF'> spanning 2 columns||
 ||<rowbgcolor="#FFFFE0">cell2||cell 3||
  • Heading
    cell 1 cell2 cell 3
    spanning rows spanning 2 columns
    cell2 cell 3

Cell width

 || narrow ||<:99%> wide ||
  • narrow wide

Spanning rows and columns

 ||<|2> 2 rows || row 1 ||
 || row 2 ||
 ||<-2> row 3 over 2 columns ||
  • 2 rows row 1
    row 2
    row 3 over 2 columns

Alignment

 ||<(> left ||<^|3> top ||<v|3> bottom ||
 ||<:> centered ||
 ||<)> right ||
  • left top bottom
    centered
    right

Colors

 ||<#FF8080> red ||<#80FF80> green ||<#8080FF> blue ||
  • red green blue

CSV Tables

Col1 Col3 Col4
1 3 4
a c d
  • Col1 Col3 Col4
    1 3 4
    a c d

Rules

--- (not a rule)
----
-----
------
-------
--------
---------
----------
-------------------------------------------- (not thicker than 10)

--- (not a rule)









(not thicker than 10)

Macros

[[Anchor(anchorname)]]
'''[[PageCount]]''' pages
[[RandomPage]]

1267 pages JacyInstallation

Clone this wiki locally