kettext/test/paragraph.ktx

58 lines
1.5 KiB
Plaintext

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Basic Paragraph Formatting
````````````````````````````````
,,,,,,,,,,,,,,,,
Regular Paragraphs
````````````````
This is a regular paragraph, it may continue on one line
or it may continue on the next.
An empty line will create a new paragraph.
,,,,,,,,,,,,,,,,
Block quotes
````````````````
> This is a block quote. It follows the same rules
> as paragraphs, but requires a ">" on each line.
>
> An empty line started with ">" in a blockquote will continue a blockquote.
> Otherwise, an empty line will break.
,,,,,,,,,,,,,,,,
Preformatted Text
````````````````
Preformatted text is marked by a tab, 2 spaces, or 4 spaces.
It follows the same rules as block quotes, but using tabs/spaces.
This includes empty lines if they are to be of the same preformatted block.
Empty lines will break.
,,,,,,,,,,,,,,,,
Code
````````````````
# Code is started by a tab, 2 spaces, or 4 spaces followed by a pound.
# It follows the same rules as preformatted text, but adding a pound.
#
# This includes empty lines.
# Empty lines will break.
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Paragraph Formatters
````````````````````````````````
Paragraphs may apply formatters by adding formatters to an otherwise empty line in the style's format. Examples:
.class(alt_paragraph)
This is a
paragraph
>.class(alt_block)
> This is a blockquote
> :)
.class(alt_pre)
This is a preformatted
paragraph.
#.class(alt_code)
# This is a code
# paragraph.