{% extends "page_admin/markup_help_base.html" %} {% block content %}{{ block.super }}
Note

Don't use tinyTextile anymore. It's obsolete and no longer maintained!

We prefere to use the markup converter and use the creole markup.

headlines

headlines are introduced with 'h1.':

examples:

unknown type
h2. this is a h2 headline

h3. this is a h3 headline

result:

this is a h2 headline

this is a h3 headline

(Important: one blank line under the headline!)

Text formatting

examples:

unknown type
I am a --small-- word with <small> tag.
This is a *fat* word with <strong> tag.

result:

I am a small word with <small> tag.
This is a fat word with <strong> tag.

Links

To create html links use this pattern:

unknown type
[URL Link Text]

examples:

unknown type
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]

results:

a http link to domain.dtl
a internal link root page.
This is a link, too: link text

old link syntax

The old pattern works too, but we prefere the new syntax!

examples:

unknown type
a "http link":http://domain.dtl to domain.dtl
This is a link, too: "link text":#bottom

results:

a http link to domain.dtl
This is a link, too: link text

shortcut

examples:

unknown type
A link with a shortcut: [[PageName]] goes to the cms page.

results:

A link with a shortcut: PageName goes to the cms page.

urls

All inserted urls would be converted to links

examples:

unknown type
http://domain.dtl
ftp://domain.dtl
mailto:name@domain.dtl

result:

http://domain.dtl
ftp://domain.dtl
name@domain.dtl

List

You can make <ul> liste with "*" and <ol> list with "#".
Note: You can't mixed this list types ;)

examples:

unknown type
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.

result:

normal list:

numbered list:

  1. Lorem ipsum dolor sit amet
    1. consectetuer adipiscing elit
        1. sed diam nonummy nibh
        2. euismod tincidunt ut laoreet
    2. dolore magna aliquam erat volutpat.

Images

You can create a html image tag with a exclamation mark ("!") character.
Surround a url to the picture with a "!".

examples:

unknown type
!http://images.sourceforge.net/images/project-support.jpg!
!/favicon.ico!
!/pics/no link for spaces in filenames.jpg!

result:



!/pics/no link for spaces in filenames.jpg!

Embed Python SourceCode

Put sourcecode between <python> tag. Note: The start and end tag must be located alone in a line!

example:

<python>

#!/usr/bin/python
# -*- coding: UTF-8 -*-

"""Ein kleines Skript"""
print "Hello Word: I love Python!"
</python>

result:

Python
1
2
3
4
5
#!/usr/bin/python
# -*- coding: UTF-8 -*-

"""Ein kleines Skript"""
print "Hello Word: I love Python!"

Embed source code generally

With the <code=ext> Tag you can highlight everything, which offers Pygments.
'ext' is the file extension.

example 1:

<code=php>
<?php
$conn_id = ftp_connect($ftp_server);
?>
</code>

result 1:

PHP
1
2
3
<?php
$conn_id = ftp_connect($ftp_server);
?>

example 2:

<code=css>
body {
color: black;
}
</code>

result 2:

CSS
1
2
3
body {
  color: black;
}

Escaping

The escape character are two equals sign ("=="). Text inner two "="-characters would be escaped.

example:

unknown type
==
Table: <table width="90%" border="0" align="center">
Link: <a href="URL">txt</a>
Input: <input type="submit" value="preview" />
==

result:

Table: <table width="90%" border="0" align="center">
Link: <a href="URL">txt</a>
Input: <input type="submit" value="preview" />

It goes also within a flow text:
Here ist no Link: ==<a href="URL">txt</a>== nice?

pre-Formarted-Text

You can use the <pre> tag. tinyTextile ingnore the Markup in the area.

example:

unknown type
<pre>
h2. Not a textile headline
<h3>hand made h3 headline with html tags</h3>


* This is not a...
* ...textile list
</pre>

result:

h2. Not a textile headline

hand made h3 headline with html tags

* This is not a... * ...textile list

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.

example:

unknown type
|=Heading Col 1 |=Heading Col 2         |
|Cell 1.1       |2 lines\\in Cell 1.2   |
|Cell 2.1       |Cell 2.2               |

result:

Heading Col 1 Heading Col 2
Cell 1.1 2 lines
in Cell 1.2
Cell 2.1 Cell 2.2

HTML-Code

You can insert any HTML code directy in you page. tinyTextile ingnore it.


{% include "page_admin/includes/markup_help_common.html" %} {% endblock content %}