Kopiert aus dem Kapitel 10 des Plone Buchs
Der Text ist am Ende (insbesondere bei den Erklärungen der Absatzdefinitionen und Listen) noch falsch, er muss syntaxmässig noch überarbeitet werden.
Enter this :
*italics*
to get this: italics
Enter this :
_underline_
to get this: underline
Enter this :
**boldface**
to get this: boldface
Headers and paragraphs
Enter this: 'My header
If you enter a single line paragraph (e.g. like the one above and then indent the first line of the next paragraph, the text in the one-line paragraph will be transformed into a header.
Note that the second paragraph in the section also has its first line indented.
Be sure to leave a blank line between paragraphs. This paragraph's first line is indented, too.
Subheading 1
Use additional indentation to generate subheaders. Notice that the subheading's level of indenting is the same as the level for the previous paragraph, but that this paragraph is further indented. It's the extra indenting of this paragraph that creates the subheading.
Get smaller subheadings by indenting even more.
Get even smaller subheadings by indenting even more.'
To get this:
If you enter a single line paragraph (e.g. like the one above and then indent the first line of the next paragraph, the text in the one-line paragraph will be transformed into a header.
Note that the second paragraph in the section also has its first line indented.
Be sure to leave a blank line between paragraphs. This paragraph's first line is indented, too.
Use additional indentation to generate subheaders. Notice that the subheading's level of indenting is the same as the level for the previous paragraph, but that this paragraph is further indented. It's the extra indenting of this paragraph that creates the subheading.
Subheading 2
Get smaller subheadings by indenting even more.
Get even smaller subheadings by indenting even more.
Preformatted Text
Enter this:: The next block of text will be formatted exactly the way I have typed it:
This is all preformatted.
Your formatting will be used until...
... you stop indenting text.
None of the *structured text* **commands** _work_ here.
This is still indented.
This is no longer preformatted.
</p>
<p> To get this:</p>
<p> The next block of text will be formatted exactly the way I have typed it:
This is all preformatted. Your formatting will be used until...
... you stop indenting text.
None of the structured text commands work here.
This is still indented.
This is no longer preformatted.
Enter this:
Some ordinary text here. Some
preformatted text here. More ordinary text.'to get this:
Some ordinary text here. Some
preformatted text here. More ordinary text.Lists
Enter this:: * First item
to get this:
Enter this:: 1 First item
to get this:
Note that numbered lists cannot be embedded in bulleted lists.
Enter this:: First item -- More information about the first item.
to get this:
Links
Enter this:
"A link to CNN":http://www.cnn.com
to get this:
Enter this:
"address@example.com":mailto:address@example.com
to get this:
Enter this::
Later in the text I will have a footnotes section.
.. [1] My footnote. The initial whitespace controls indentation, then the two periods followed by the space and the bracketed text create the anchor.'
to get this:
I am going to refer to a footnote here [1].
Later in the text I will have a footnotes section.
[1] My footnote. The initial whitespace controls indentation, then the two periods followed by the space and the bracketed text create the anchor.
Images
Enter this: Text shown when the browser does not load the image'
to get this:
You can use an arbitrary URL for the image, e.g.:
"Plone logo":img:http://www.plone.org/logo.jpg
Tables
Enter this:
|------------------------------------|
| Fruit | Nut | Mammal |
|====================================|
| Apple | Peanut | Squirrel |
|------------------------------------|
| Orange | Macadamia | Woodchuck |
|------------------------------------|
| Banana | Walnut | Dolphin |
|------------------------------------|
| This spans 2 columns! | Cat |
|------------------------------------|
| Pear | This spans 2 columns! |
|------------------------------------|
| This spans 3 columns! |
|------------------------------------|'
to get this:
Fruit |
Nut |
Mammal |
|---|---|---|
Apple |
Peanut |
Squirrel |
Orange |
Macadamia |
Woodchuck |
Banana |
Walnut |
Dolphin |
This spans 2 columns! |
Cat |
|
Pear |
This spans 2 columns! |
|
This spans 3 columns! |
||