Syntax reference.en (Čeština, English)

This document explains all syntax features of core LionWiki. Syntax of tables (provided by plugin) is on separate page: Tables plugin.



!Heading H2
!!Heading H3
!!!Heading H4

Heading H2(Edit)

Heading H3(Edit)

Heading H4(Edit)

More exclamation marks you use, smaller heading is (up to 5 exclamation marks). This is different from WiKiss (possibly also TigerWiki), ! is used for H2, because H1 should be reserved for title. Exclamation marks has to be exactly at the start of the line.


Unordered list(Edit)

* Fruit
** Apple
*** Granny smith
*** Golden delicious
** Orange
* Vegetables
** Garlic
** Onion

  • Fruit
    • Apple
      • Granny smith
      • Golden delicious
    • Orange
  • Vegetables
    • Garlic
    • Onion

Ordered list(Edit)

# First item 
## First subitem 
### First subsubitem
## Second subitem 
# Second item

  1. First item
    1. First subitem
      1. First subsubitem
    2. Second subitem
  2. Second item

Text styles(Edit)

'''Bold''' → Bold (three apostrophes)

''Italic'' → Italic (two apostrophes)

'''''Bold and italic''''' → Bold and italic (five apostrophes)

--Strikethrough— → —Strikethrough—

__Underlined__ → __Underlined__

Since LionWiki 2.0(Edit)

{small}Small text{/small} → Small text

2{sup}10{/sup} → x10

x{sub}i{/sub} → xi

Links to other pages can be created like this:

[Main page] -> Main page


[Main project page|Main page] -> Main project page

Emails and web links are automatically recognized: -> ->

If you want to have different link and link text, you can use following syntax:

[LionWiki|] -> LionWiki

You can use also relative links, but they have to start with ./ (otherwise it will be interpreted as Wiki page)

So if you want to link some HTML page in the same directory, you use:

[Interesting page|./SomeWebPage.html] -> Interesting page

One bonus feature is link to article on Wikipedia of your language:

[?Albert Einstein] -> ?Albert Einstein


LionWiki does not have built-in support for uploading images. However, Upload plugin is in standard LionWiki distribution, so you should have it. It's accessible through this link. If you don't have it installed you can still upload images manually.

[] →

You can use your image as your link: [|] →

You can also place your image to the left or right, possibly combined with link feature:

← [|left]

[||right] →



This feature is available since LionWiki 2.0.

Subpages are useful when you need to insert some common content into multiple pages. Example could be list of available language versions of some page - you would probably want to insert this into every language variant. That's ok, but what happens when you want to add one more language variant? You have to update list in all other language variants. Subpage mechanism solves this problem by creating page which contains this list and including this page into all the variants with special keyword. Then, if you want to add one language variant, you need to add it to just one page. Another useful application could be Menu displayed on every page.

Including page is done with keyword {include:page_to_be_included}.

You can use the same syntax to include page in template (i.e. not in page content), but in this case, whole content of this subpage must be in HTML (you can, but not have to enclose it in {html} and {/html}).

Multilingual content(Edit)

This feature is available since LionWiki 2.0.

Let's say you have page named "Biography" in German and you would like to make French variant. Rename page Biography to and create page named and insert French translation there. Then visitors whose browser identifies primary language as French will see It's recommended to create a redirect from page Biography to default language variant. The obvious limitation is that page name has to stay the same in every language variant. That's not such a big problem with "Biography", but it can be worse with other names.

This is recommended way to create multilingual content, there are more ways to do it.

Useful feature to maintain multilingual content is Subpage mechanism, which is described in previous section or PageVersions plugin (insert {VERSIONS} in the content and plugin will automatically detect and display all language variants of current page).


This feature is available since LionWiki 2.0.

If you want to redirect from some page to other, put {redirect:page} at the very beginning of the page. It's not straightforward to edit page containing redirect because every visit will cause redirecting. The only way to edit such page is from search results (as it provides direct edit links), or possibly by manually altering URL.



Some sequences of characters are automatically replaced:

  • Arrows : <-- : ←, --> : →, <--> : ↔
  • Dash : -- : — (since LionWiki 2.0)
  • Copyrights : (c) or (C) : ©, (r) or (R) : ®


Code syntax is useful when you need to keep original spacing and layout of text, especially for programming source code.

{{import sys

if len(sys.argv) == 2:

print "Hello",sys.argv[1]}}


import sys
if len(sys.argv) == 2:
   print "Hello",sys.argv[1]

Horizontal line(Edit)

by ----

Suppressing wiki syntax(Edit)

By using ^ character before syntax keyword or using {{something}}. If you still don't know how, take a look on wiki code of this page, there are plenty of examples. If you want to insert ^ character, you have to double it, i.e. ^^

HTML code(Edit)

Do you want to insert youtube video to your site? Or any other HTML code? Just insert it between {html}some html code{/html}.

HTML entities(Edit)

Since LionWiki 2.0. HTML entities are automatically recognized and left without modification.


LionWiki joins adjacent newlines together, if you need more than one newline, use {br}.

Internal comments(Edit)

Since LionWiki 2.0. You can insert internal comments not intended to be displayed using HTML-like syntax <!-- text not intended to be displayed -->