moin2doku/syntaxreference.txt

185 lines
3.6 KiB
Plaintext
Raw Normal View History

2012-06-20 01:27:30 +02:00
#acl MoinPagesEditorGroup:read,write,delete,revert All:read
## Please edit (or translate) system/help pages on the moinmaster wiki ONLY.
## For more information, please see MoinMaster:MoinPagesEditorGroup.
#pragma section-numbers off
#language en
{{{
#pragma section-numbers off
#acl All:admin,read,write,delete,revert
#language en
}}}
2012-06-19 23:42:08 +02:00
2012-06-20 01:24:02 +02:00
This page tries to use each supported markup element at least once.
{{{
'''Index'''
[[TableOfContents(2)]]
}}}
'''Index'''
[[TableOfContents(2)]]
2012-06-19 23:42:08 +02:00
= Headers =
== Header 2 ==
=== Header 3 ===
==== Header 4 ====
===== Header 5 =====
2012-06-19 23:50:03 +02:00
= Font styles =
{{{
Normal text, ''emphasized'', '''strong''', __underline__, ,,subscript,,, ^superscript^, `typewriter` and {{{typewriter}}}.
}}}
Normal text, ''emphasized'', '''strong''', __underline__, ,,subscript,,, ^superscript^, `typewriter` and {{{typewriter}}}.
== Syntax Highlighting ==
2012-06-20 01:27:30 +02:00
{{{#!python
# python code
print code.colorize("abc", 1 + 1)
2012-06-20 00:13:07 +02:00
}}}
2012-06-20 01:07:26 +02:00
= Hyperlinks =
== Internal ==
{{{
* MoinMoin
* MoinMoin/TextFormatting
* MoinMoin/InstallDocs
* ../InstallDocs
* /SubPage
* Self:InterWiki
}}}
* MoinMoin
* MoinMoin/TextFormatting
* MoinMoin/InstallDocs
* ../InstallDocs
* /SubPage
* Self:InterWiki
{{{
[#anchorname Anchor Link]
}}}
[#anchorname Anchor Link]
== External ==
{{{
* http://moinmoin.wikiwikiweb.de/
* [http://moinmoin.wikiwikiweb.de/]
* [http://moinmoin.wikiwikiweb.de/ MoinMoin Wiki]
* [http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png]
* http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png
* [http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png moinmoin.png]
* 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]
* me@privacy.net
}}}
* http://moinmoin.wikiwikiweb.de/
* [http://moinmoin.wikiwikiweb.de/]
* [http://moinmoin.wikiwikiweb.de/ MoinMoin Wiki]
* [http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png]
* http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png
* [http://moinmoin.wikiwikiweb.de/wiki/classic/img/moinmoin.png moinmoin.png]
* 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]
* me@privacy.net
2012-06-20 01:10:32 +02:00
== Escaping WikiNames ==
{{{
Wiki''''''Name
Wiki``Name
}}}
Wiki''''''Name
Wiki``Name
2012-06-20 01:18:09 +02:00
= Blockquote =
{{{
This is indented
Even more
}}}
This is indented
Even more
2012-06-20 01:10:32 +02:00
2012-06-20 00:23:36 +02:00
= Bullet list =
{{{
* item 1
* item 2, with gap
* item 3
* item 3.1
}}}
* item 1
* item 2, with gap
* item 3
* item 3.1
2012-06-20 00:38:14 +02:00
= Numbered list =
{{{
1. item 1
i. item 1
i. item 2
}}}
1. item 1
i. item 1
i. item 2
{{{
1. item 2
a. item 1
a. item 2
}}}
1. item 2
a. item 1
a. item 2
2012-06-20 01:27:30 +02:00
= Descriptions + Definitions =
2012-06-20 00:48:14 +02:00
{{{
2012-06-20 01:27:30 +02:00
Term:: Description
Label:: Definition
}}}
Term:: Description
Label:: Definition
= Code display =
{{{
2012-06-20 00:48:14 +02:00
line 1
indented 4 characters
}}}
2012-09-16 16:31:15 +02:00
= Tables =
== General table layout and HTML like options ==
{{{
||cell 1||cell2||cell 3||
}}}
||cell 1||cell2||cell 3||
2012-06-20 00:48:14 +02:00
= Rules =
{{{
--- (not a rule)
----
-----
------
-------
--------
---------
----------
-------------------------------------------- (not thicker than 10)
}}}
--- (not a rule)
----
-----
------
-------
--------
---------
----------
-------------------------------------------- (not thicker than 10)
2012-06-20 01:18:09 +02:00
= Macros =
{{{
[[Anchor(anchorname)]]
'''[[PageCount]]''' pages
}}}
[[Anchor(anchorname)]]
2016-01-05 17:13:48 +01:00
'''[[PageCount]]''' pages