This is a set of tests for pandoc Textile Reader. Part of it comes
from John Gruber’s markdown test suite.
Level 2 with an embeded link
Here’s a regular paragraph.
Line breaks are preserved in textile, so you can not wrap your very
long paragraph with your favourite text editor and have it rendered
with no break.
Here’s one with a bullet.
- criminey.
There should be a paragraph break between here
and here.
pandoc converts textile.
This is a famous quote from somebody. He had a lot of things to
say, so the text is really really long and spans on multiple lines.
And a following paragraph.
Code:
---- (should be four hyphens) sub status { print "working"; } this code block is indented by one tab
And:
this code block is indented by two tabs These should not be escaped: \$ \\ \> \[ \{
Code block with .bc
continued
@</\
extended code block
continued p. ended by paragraph
Inline code: @<tt>@, <tt>@</tt>.
A block of text can be protected with notextile :
No *bold* and * no bulletand inlines can be protected with ==double equals (=) markup==.
Asterisks tight:
- asterisk 1
- asterisk 2
- asterisk 3
With line breaks:
- asterisk 1
newline - asterisk 2
Tight:
- First
- Second
- Third
- ui 1
- ui 1.1
- oi 1.1.1
- oi 1.1.2
- ui 1.2
- ui 1.1
- ui 2
- oi 2.1
- ui 2.1.1
- ui 2.1.2
- oi 2.1
- one
- two
→ and more
List:
- one
- two
- coffee
- Hot and black
- tea
- Also hot, but a little less black
- milk
Nourishing beverage for baby cows.
Cold drink that goes great with cookies.
- beer
- fresh and bitter
This is emphasized, and so is this.
This is strong, and so is this.
Hyphenated-words-are-ok, as well as strange_underscore_notation.
A strong link.
This is strong and em.
So is this word and that one.
This is strikeout and strong
Superscripts: abcd a hello ahello there.
Subscripts: here H[ 2]O, H[ 23]O, H[ many of them]O.
Dashes : How cool — automatic dashes.
Elipses : He thought and thought … and then thought some more.
Quotes and apostrophes : “I’d like to thank you” for example.
Just a url
“not a link”: foo
Automatic linking to $.
Example: Example of a link followed by a colon.
A linkwith bracketsand no spaces.
Textile allows tables with and without headers :
name | age | sex |
joan | 24 | f |
archie | 29 | m |
bella | 45 | f |
and some text following …
name | age | sex |
---|---|---|
joan | 24 | f |
archie | 29 | m |
bella | 45 | f |
Textile inline image syntax, like
here
and here .
as well as inline attributes of all kind
and paragraph attributes, and table attributes.
name | age | sex |
joan | 24 | f |
(class#id) emph
(no class#id) emph
*
&
However, raw HTML inlines are accepted, as well as :
Html blocks can
Can you prove that 2 < 3 ?
PBS
Hi™
Hi™
® Hi®
Hi©2008 © 2008
1 The note
is here!
2 Other note.
###. my comment
is here.
not a comment.