User Tools

Site Tools


wiki:syntax

This is an old revision of the document!


Edit Instructions

YEDU Wiki is based on DokuWiki and supports simple markup language. Here is a brief list of syntax you may use when editing the pages. The editor contains also the toolbar with buttons that help users formatting their texts without remembering the syntax.

Text styles

//italic// = italic
**bold** = bold
__underlined__ = underlined
''monospaced'' = monospaced
**__//''combined''//__** = combined
<sub>subscript</sub> = subscript
<sup>superscript</sup> = superscript
<del>deleted</del> = deleted
((footnote)) = 1)

Two spaces in the beginning of new line will create code box as below:

> quoting
>> quoting
=== Headline Level 4 ===
== Headline Level 5 ==
  * list item
    * list item

Result of syntax in code box:

quoting
quoting

Headline Level 4

Headline Level 5
  • list item
    • list item
[[internal_link]], [[internal_link|link text]], www.external_link.com, [[http://external_link.com|link_text]]

Results in: internal_link, internal_link, link text, www.external_link.com, link_text

Images

Show image: {{wiki:dokuwiki-128.png}}
Show image with caption: {{wiki:dokuwiki-128.png|Text on hover}}
Show image with link: [[http://external_link.com|{{wiki:dokuwiki-128.png}}]]

Set image width: {{wiki:dokuwiki-128.png?50}}
Set image width and height: {{wiki:dokuwiki-128.png?50x20}}

Align right: {{ wiki:dokuwiki-128.png}}
Align left: {{wiki:dokuwiki-128.png }}
Align center: {{ wiki:dokuwiki-128.png }}

Show only link to image: {{wiki:dokuwiki-128.png?linkonly}}

Tables

^ Heading 1      ^ Heading 2       ^ Heading 3          ^
| Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        |
| Row 2 Col 1    | some colspan (note the double pipe) ||
| Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        |

Result:

Heading 1 Heading 2 Heading 3
Row 1 Col 1 Row 1 Col 2 Row 1 Col 3
Row 2 Col 1 some colspan (note the double pipe)
Row 3 Col 1 Row 3 Col 2 Row 3 Col 3
1)
footnote
wiki/syntax.1570534891.txt.gz · Last modified: 2019/10/08 11:41 (external edit)