Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: Unknown

====== Auto Formatting ======

Auto-formatting means that zim parses text while you type. Be aware that the syntax for auto-formatting isn't the same as the [[Wiki Syntax|wiki syntax]] for the source formatting (the wiki format as it is saved to the files). If you typed in source syntax and you want to have it rendered you should reload the page (press ^R).

Enable "**Reformat wiki format on the fly**" in the preferences to enable this feature.

If auto-formatting does something you didn't intend you can reverse it by pressing ''<ctrl>Z''.

===== Headings =====
Typing:

'''
== Heading 1 <ENTER>
'''

gives you a heading 1 and typing:

'''
=== Heading 2<ENTER>
'''

gives you a heading 2. But in the corresponding text file these headings are marked as follows:

'''
====== Heading 1 ======
===== Heading 2 =====
'''


===== Links =====
When you type a word in "CamelCase" it will be considered a link. Once again this auto-formatting is done by the editor, your source format does not have to support CamelCase.

This feature can be turned off in the [[Preferences]].

Also when you type an internet URL like http://perl.org, it will automatically be identified as a link.

===== Bullets and Checkboxes =====
Another example of auto-formatting is that "* " at the beginning of a line gets converted to a bullet automatically. Typing either "[] ", "[*] ", "[x] ", "[>] " or "() ", "(*) ", "(x) ", "(>) " will give your different kinds of [[Check Boxes]].

===== Horizontal line =====
Typing five dashes:

''-----''

gives you a horizontal line:

--------------------

===== Sub- and superscript =====

For subscript ''word_{word}'' will be auto-formatted, e.g. typing ''H_{2}O''. This
only works if there are no spaces in the sequence.

For superscript ''word^{word}'' or ''word^word'' will be auto-formatted. These
only work if there are no spaces in the sequences.
