h1. headlines
headlines are introduced with 'h1.':
h4. examples:
h2. this is a h2 headline
h3. this is a h3 headline
h4. result:
h2. this is a h2 headline
h3. this is a h3 headline
(Important: one blank line under the headline!)
h1. Text formatting
h4. examples:
I am a --small-- word with <small> tag.
This is a *fat* word with <strong> tag.
h4. result:
I am a --small-- word with ==== tag.
This is a *fat* word with ==== tag.
h1. Links
To create html links use this pattern:
[URL Link Text]
h4. examples:
a [http://domain.dtl http link] to domain.dtl
a internal link [/root/index.html root page].
This is a link, too: [#bottom link text]
h4. results:
a [http://domain.dtl http link] to domain.dtl
a internal link [/root/index.html root page].
This is a link, too: [#bottom link text]
h2. old link syntax
The old pattern works too, but we prefere the new syntax!
h4. examples:
a "http link":http://domain.dtl to domain.dtl
This is a link, too: "link text":#bottom
h4. results:
a "http link":http://domain.dtl to domain.dtl
This is a link, too: "link text":#bottom
h2. shortcut
h4. examples:
A link with a shortcut: [[PageName]] goes to the cms page.
h4. results:
A link with a shortcut: [[PageName]] goes to the cms page.
h2. urls
All inserted urls would be converted to links
h4. examples:
http://domain.dtl
ftp://domain.dtl
mailto:name@domain.dtl
h4. result:
http://domain.dtl
ftp://domain.dtl
mailto:name@domain.dtl
h1. List
You can make ==
== liste with "*" and ==== list with "#".
Note: You can't mixed this list types ;)
h4. examples:
normal list:
* Lorem ipsum dolor sit amet
** consectetuer adipiscing elit
**** sed diam nonummy nibh
**** euismod tincidunt ut laoreet
** dolore magna aliquam erat volutpat.
numbered list:
# Lorem ipsum dolor sit amet
## consectetuer adipiscing elit
#### sed diam nonummy nibh
#### euismod tincidunt ut laoreet
## dolore magna aliquam erat volutpat.
h4. result:
normal list:
* Lorem ipsum dolor sit amet
** consectetuer adipiscing elit
**** sed diam nonummy nibh
**** euismod tincidunt ut laoreet
** dolore magna aliquam erat volutpat.
numbered list:
# Lorem ipsum dolor sit amet
## consectetuer adipiscing elit
#### sed diam nonummy nibh
#### euismod tincidunt ut laoreet
## dolore magna aliquam erat volutpat.
h1. Images
You can create a html image tag with a exclamation mark ("!") character.
Surround a url to the picture with a "!".
h4. examples:
!http://images.sourceforge.net/images/project-support.jpg!
!/favicon.ico!
!/pics/no link for spaces in filenames.jpg!
h4. result:
!http://images.sourceforge.net/images/project-support.jpg!
!/favicon.ico!
!/pics/no link for spaces in filenames.jpg!
h1. Embed Python SourceCode
Put sourcecode between ==== tag. Note: The start and end tag must be located alone in a line!
h4. example:
h4. result:
#!/usr/bin/python
# -*- coding: UTF-8 -*-
"""Ein kleines Skript"""
print "Hello Word: I love Python!"
h1. Embed source code generally
With the ==== Tag you can highlight everything, which offers Pygments.
'ext' is the file extension.
h4. example 1:
h4. result 1:
h4. example 2:
h4. result 2:
body {
color: black;
}
h1. Escaping
The escape character are two equals sign ("=="). Text inner two "="-characters would be escaped.
h4. example:
==
Table:
Link: txt
Input:
==
It goes also within a flow text:
Here ist no Link: ========txt======== nice?
h1. pre-Formarted-Text
You can use the ==
== tag. tinyTextile ingnore the Markup in the area.
h4. example:
h2. Not a textile headline
hand made h3 headline with html tags
* This is not a...
* ...textile list
h4. result:
h2. Not a textile headline
hand made h3 headline with html tags
* This is not a...
* ...textile list
h1. tables
tinyTextile only supports very basic table syntax, with no alignment. It's only for simple table like phone lists etc.
There is a notion for headings and forced line breaks.
h4. example:
|=Heading Col 1 |=Heading Col 2 |
|Cell 1.1 |2 lines\\in Cell 1.2 |
|Cell 2.1 |Cell 2.2 |
h4. result:
|=Heading Col 1 |=Heading Col 2 |
|Cell 1.1 |2 lines\\in Cell 1.2 |
|Cell 2.1 |Cell 2.2 |
h1. HTML-Code
You can insert any HTML code directy in you page. tinyTextile ingnore it.