hasRawText() tag case insensitivity & closure: note: Although xhtml calls for lower-case tag names with all tags closed (even on void elements), Textile doesn't care if xhtml in its input is well formed, it just has to output it verbatim. Therefore we use the more relaxed HTML5 rules (allowing for mixed case element names) for detecting 'raw' input text. In addition, xhtml allows void tags to be closed like normal tags (so
Hello World!
Hello World!
Hello World!
Hello World!
expect: |Hello World!
Hello World!
Hello World!
Hello World!
Case insensitive p breaks: setup: setHtmlType: xhtml input : | I spoke. And none replied. I spoke.I spoke.
And none replied.
I spoke.
And none replied.
I spoke.
And none replied.
I spoke.
And none replied.
I spoke.
And none replied.
I spoke.
And none replied.
I spoke.
And none replied.
*foo*
*foo*[^2^]
expect: |foo
foo2
Styled numbers: input : | _(class1 class2#id1)1_ *[en]2* **(#id)3** ??4?? __5__ %6% +7+ -(foobarbaz#boom bang)8- ~9~ ^10^ 1[^st^], 2[^nd^], 3[^rd^] expect: |1 2 3 4 5 6 7 8 9 10
1st, 2nd, 3rd
Percentages...: input : | 0 %1% _2_ 45% 6.7% %89.0 expect: |0 1 2 45% 6.7% %89.0
Some redding: input: | h2{color:red}. Some redding expect: |“Textile©” is a registered® ‘trademark’ of Textpattern™ — or TXP — at least it was – back in ’88 when 2×4 was ±5°C … QED!
2¼ 3½ 4¾
“.” “..” “…” ‘.’ ‘..’ ‘…’ Allow quoted periods.
Classes and IDs: input : | p(c). Valid class p(#id). Valid ID p(c#id). Valid class and ID p(c9). Valid class p(c4.2). Valid class p(c1 c.2 c-3). Valid class expect : |Valid class
Valid ID
Valid class and ID
Valid class
Valid class
Valid class
Dimensions : input: | [1/2] x [1/4] and (1/2)" x [1/4]" and (1/2)' x (1/4)' (2 x 10) X (3 / 4) x (200 + 64) 1 x 1 = 1 1 x1 = 1 1x 1 = 1 1x1 = 1 1 X 1 = 1 1 X1 = 1 1X 1 = 1 1X1 = 1 What is 1 x 1? What is 1x1? What is 1 X 1? What is 1X1? 1 x 2 x 3 = 6 1x2x3=6 1x2 x 1x3 = 6 2' x 2' = 4 sqft. 2'x 2' = 4 sqft. 2' x2' = 4 sqft. 2'x2' = 4 sqft. 2' X 2' = 4 sqft. 2'X 2' = 4 sqft. 2' X2' = 4 sqft. 2'X2' = 4 sqft. 2" x 2" = 4 sqin. 2"x 2" = 4 sqin. 2" x2" = 4 sqin. 2"x2" = 4 sqin. 2" X 2" = 4 sqin. 2"X 2" = 4 sqin. 2" X2" = 4 sqin. 2"X2" = 4in[^2^]. What is 1.2 x 3.5? What is .2 x .5? What is 1.2x3.5? What is .2x.5? What is 1.2' x3.5'? What is .2"x .5"? 1 x $10.00 x -£ 1.23 x ¥20,000 x -¤120.00 x ฿1,000,000 x -€110,00 expect: |½ × ¼ and ½” × ¼” and ½’ × ¼’
(2 × 10) × (3 / 4) × (200 + 64)
1 × 1 = 1
1 ×1 = 1
1× 1 = 1
1×1 = 1
1 × 1 = 1
1 ×1 = 1
1× 1 = 1
1×1 = 1
What is 1 × 1?
What is 1×1?
What is 1 × 1?
What is 1×1?
1 × 2 × 3 = 6
1×2×3=6
1×2 × 1×3 = 6
2’ × 2’ = 4 sqft.
2’× 2’ = 4 sqft.
2’ ×2’ = 4 sqft.
2’×2’ = 4 sqft.
2’ × 2’ = 4 sqft.
2’× 2’ = 4 sqft.
2’ ×2’ = 4 sqft.
2’×2’ = 4 sqft.
2” × 2” = 4 sqin.
2”× 2” = 4 sqin.
2” ×2” = 4 sqin.
2”×2” = 4 sqin.
2” × 2” = 4 sqin.
2”× 2” = 4 sqin.
2” ×2” = 4 sqin.
2”×2” = 4in2.
What is 1.2 × 3.5?
What is .2 × .5?
What is 1.2×3.5?
What is .2×.5?
What is 1.2’ ×3.5’?
What is .2”× .5”?
1 × $10.00 × -£ 1.23 × ¥20,000 × -¤120.00 × ฿1,000,000 × -€110,00
Ruud's Improvements... : input: | ??*text*?? _person_'s *person*'s "text":http://url/" "text":http://url... *CAPS "text":http://url* "_text_" *- text -*person’s
person’s
text”
text…
CAPS text
“text”
– text –
<text text
Other Ruud stuff : input : | * ** * item1 expect : |*
**
Greengrocers’ apostrophe’s.
‘“I swear it was in ’62, captain,” replied I.’
Dad said; “Mum said: ‘It’s a beautiful day viz-a-viz a picnic, isn’t it?’ — I think.”
“‘I swear it’s true, captain,’ replied I, ‘Here’s your list: 2 apples, a banana & a papaya.’”
in ’88. blah. In the ’90s blah. He’s in his ‘90s’ now.
Happened in ’89.
in ’89
in ’89
Happened in ’89. it did.
File ‘1.png’. ‘1.’ ‘1’ ‘10m’ ‘1.txt’
NATO’s pretty big.
ABC’s poor knees.
ABC(‘s poor knees.
ABC)’s poor knees.
Here is a ‘spanned’ word.
The NHS’ charter states…
Dashes and ellipsis : notes : | '--' should be replaced with em-dash, ' - ' with en-dash (but not inside another sequence of characters) and '...' with elipsis. input : | You know the Italian proverb -- Chi ha compagno ha padrone. You know the Italian proverb--Chi ha compagno ha padrone. You know the Italian proverb - Chi ha compagno ha padrone. You know the Italian proverb-Chi ha compagno ha padrone. You know the Italian proverb... Chi ha compagno ha padrone. You know the Italian proverb...Chi ha compagno ha padrone. expect : |You know the Italian proverb — Chi ha compagno ha padrone.
You know the Italian proverb—Chi ha compagno ha padrone.
You know the Italian proverb – Chi ha compagno ha padrone.
You know the Italian proverb-Chi ha compagno ha padrone.
You know the Italian proverb… Chi ha compagno ha padrone.
You know the Italian proverb…Chi ha compagno ha padrone.
Notextile : input : | ==*no* textile== == This text should never, ever, ever, ever, ever be "textiled(tm)"! == But "this(tm)" should be whilst, yet again, >==this(tm)==< should _not_! notextile. * item 1 * item 2 notextile.. *long* *block* expect : |*no* textile
This text should never, ever, ever, ever, ever be "textiled(tm)"!
But “this™” should be whilst, yet again, >this(tm)< should not!
* item 1 * item 2 *long* *block* Pre-formatted content: input : | pre. *This* _should_ not be parsed. pre.. * item 1 * item 2 * item 3 p. Paragraph.sdada Link @code@ dadsadaexpect : |
*This* _should_ not be parsed.
* item 1 * item 2 * item 3
Paragraph.
sdada <a href="link">Link</a> code
dadsada
Tricky Open Quotes... :
input : |
citation ["(Berk.) Hilton"], see
[Papers "blah blah."]
Hello ("Mum")...
Hello ["(mum) & dad"], see...
Hello ("[mum] & dad"), see...
Hello {"(mum) & dad"}, see...
["Well, well (well)"] ...
citation ['(Berk.) Hilton'], see
[Papers "blah blah."]
Hello ('Mum')...
Hello ['(mum) & dad'], see...
Hello ('[mum] & dad'), see...
Hello {'(mum) & dad'}, see...
['Well, well (well)'] ...
expect: |
citation [“(Berk.) Hilton”], see
[Papers “blah blah.”]
Hello (“Mum”)…
Hello [“(mum) & dad”], see…
Hello (“[mum] & dad”), see…
Hello {“(mum) & dad”}, see…
[“Well, well (well)”] …
citation [‘(Berk.) Hilton’], see
[Papers “blah blah.”]
Hello (‘Mum’)…
Hello [‘(mum) & dad’], see…
Hello (‘[mum] & dad’), see…
Hello {‘(mum) & dad’}, see…
[‘Well, well (well)’] …
Headers 1-6 : input : | h1. Heading 1 h2. Heading 2. h3. Heading 3.. h4. Heading 4... h5. Heading 5.... h6. Heading 6..... h1. Two line with *strong* heading h1=. Centered headline expect : |...
tags and newlines replaced withA paragraph.
Another paragraph.
A paragraph with
a line break.
Here’s some bold text.
Paragraph with attributes: input : | p(class#id)[en-us]{color: blue;}. (also applied by default) expect : |(also applied by default)
Paragraphs with alignment : input : | p<. Left-aligned paragraph. p>. Right-aligned paragraph. p<>. Forasmuch as many have taken in hand to set forth in order a declaration of those things which are most surely believed among us, even as they delivered them unto us, which from the beginning were eyewitnesses, and ministers of the word; it seemed good to me also, having had perfect understanding of all things from the very first, to write unto thee in order, most excellent Theophilus, that thou mightest know the certainty of those things, wherein thou hast been instructed. p=. Centered paragraph. p<. Not left-aligned. p>. Not right-aligned. p<>. Not justified. expect : |Left-aligned paragraph.
Right-aligned paragraph.
Forasmuch as many have taken in hand to set forth in order a declaration of those things which are most surely believed among us, even as they delivered them unto us, which from the beginning were eyewitnesses, and ministers of the word; it seemed good to me also, having had perfect understanding of all things from the very first, to write unto thee in order, most excellent Theophilus, that thou mightest know the certainty of those things, wherein thou hast been instructed.
Centered paragraph.
p<. Not left-aligned.
p>. Not right-aligned.
p<>. Not justified.
Paragraphs with padding : input : | p((((((((((. Left pad 10em. p)). Right pad 2em. p((())). Left and right pad 3em. expect : |Left pad 10em.
Right pad 2em.
Left and right pad 3em.
Nested block modifiers : input : | _*^Here^ -is a- +are two+ things.*_ A[*bold*]word. End-of-line __italic__. *_^Here^ -is a- +are two+ things._* _*em ^strong^*_ __**??&??**__ *_strong ~em~_* expect: |Here is a are two things.
Aboldword. End-of-line italic.
Here is a are two things.
em strong & strong em
Spans in table cells : input: | | *strong* | | _em_ | | Inter-word -dashes- | ZIP-codes are 5- or 9-digit codes | Hello ??Github!?? | expect: |strong |
em |
Inter-word |
ZIP-codes are 5- or 9-digit codes | Hello Github! |
Simple solutions (are the best) [for Komplex™ people].
Both (strong), and (emphasis) will be rendered with formatting.
Both [strong], and [emphasis] will be rendered with formatting.
Well formed HTML : notes : Paragraphs that consist entirely of raw XHTML block tags will not be enclosed in...
tags. input : |bold and italic, the hard way.
HTML Comments : input: | Here is some text with a block. bc. expect: |Here is some text with a block.
<!-- Here is a comment block in a code block. -->
HTML Comments (restricted):
setup:
setRestricted: true
setLite: true
setImages: false
setLinkRelationShip: nofollow
input: |
Here is some text with a block.
pre.
expect: |
Here is some text with a <!— Commented out —> block.
<!— Here is a single <span>line</span> comment block —>
<!— Here is a whole
multiline
<span>HTML</span>
Comment
—>
pre. <!— Here is a comment block in a pre block. —>
URLs as non-links : notes : Straight URL text sequences should not be converted to a hyperlink. input : | http://cnn.com "http://cnn.com" "http://cnn.com(is a website)" expect : |http://cnn.com
“http://cnn.com”
“http://cnn.com(is a website)”
URI-Schemes : input : | "link with no scheme":textileit.com "link with http":http://textileit.com "link with https":https://textileit.com "link with ftp":ftp://textileit.com "link with ftp alias":uri-alias4 "link with sftp":sftp://foobar@textileit.com "$":sftp://foobar@textileit.com "link with no scheme"://example.com Find it "here":http://github.com/netcarver/some+thing+completely+different on github. "link with sftp alias":uri-alias3 "link with file1":file://host.example.com/folder/file.ext "$":file://host.example.com/folder/file.ext "link with file2":file:///c:/folder/file.ext "link with file alias":uri-alias2 "$":file:///c:/folder/file.ext "link with tel":tel:123123123123123123-123 "$":tel:123123123123123123-123 "int tel":uri-alias1 "link with mailto":mailto:contact+alt@textileit.com "link with mailto alias":uri-alias6 "link with callto":callto:textileit.com "link with callto alias":uri-alias5 "$":callto:textileit.com [uri-alias1]tel:+123-0-123123123-123 [uri-alias2]file:///c:/folder/file.ext [uri-alias3]sftp://foo@bar.net [uri-alias4]ftp://foo@bar.net [uri-alias5]callto:textileit.com [uri-alias6]mailto:contact@textileit.com expect : |Find it here on github.
host.example.com/folder/file.ext
Self-Hyperlink : notes : A new feature. input : | Relative link to "$":testit.php?testfilename=textile/basic. Relative link to "$":/testit.php?testfilename=textile/basic. Send spam to "$":mailto://blackhole@sun.comet please! An auto-hyperlink to "$":http://mojomojo.org/documentation/textile_vs_markdown#Textile2_vs._MultiMarkdown is -not- possible. An auto-hyperlink (with title) to "$(Comparison of Textile2 and Markdown)":http://mojomojo.org/documentation/textile_vs_markdown#Textile2_vs._MultiMarkdown is -not- possible. An auto-hyperlink (with atts) to "(class#id)[en-au]$(Comparison of Textile2 and Markdown)":http://mojomojo.org/documentation/textile_vs_markdown#Textile2_vs._MultiMarkdown is -not- possible. expect : |Relative link to testit.php?testfilename=textile/basic.
Relative link to /testit.php?testfilename=textile/basic.
Send spam to blackhole@sun.comet please!
An auto-hyperlink to mojomojo.org/documentation/textile_vs_markdown#Textile2_vs._MultiMarkdown is not possible.
An auto-hyperlink (with title) to mojomojo.org/documentation/textile_vs_markdown#Textile2_vs._MultiMarkdown is not possible.
An auto-hyperlink (with atts) to mojomojo.org/documentation/textile_vs_markdown#Textile2_vs._MultiMarkdown is not possible.
(Try this link)
(link text go go go!)
Here is a link, and another link to a site.
Here is a link, and another link to the same site.
(just in case you were wondering)
Unicode Links : input : | "Übermensch":https://de.wikipedia.org/wiki/Übermensch "$":https://de.wikipedia.org/wiki/Übermensch "福島駅":link5 this is a test -- no trailing slash. [link5]http://ja.wikipedia.org/wiki/福島駅_(大阪府) "äöüÄÖÜßçéáóúèàòùÉÁÓÚÈÀÒÙêÊôÔâÂûÛåÅœŒæÆøØëËïÏ without trailing slash":link3 [link3]https://en.wikipedia.com/ä/öüÄÖÜßç/éáóúè/àòùÉÁÓÚ/ÈÀÒÙêÊôÔâÂû/ÛåÅœŒæÆøØëËïÏ "äöüÄÖÜßçéáóúèàòùÉÁÓÚÈÀÒÙêÊôÔâÂûÛåÅœŒæÆøØëËïÏ without trailing slash":https://en.wikipedia.com/ä/öüÄÖÜßç/éáóúè/àòùÉÁÓÚ/ÈÀÒÙêÊôÔâÂû/ÛåÅœŒæÆøØëËïÏ "福島駅":link6 this is a test -- with a trailing slash. [link6]http://ja.wikipedia.org/wiki/福島駅_(大阪府)/ "äöüÄÖÜßçéáóúèàòùÉÁÓÚÈÀÒÙêÊôÔâÂûÛåÅœŒæÆøØëËïÏ with trailing slash":link4 [link4]https://en.wikipedia.com/ä/öüÄÖÜßç/éáóúè/àòùÉÁÓÚ/ÈÀÒÙêÊôÔâÂû/ÛåÅœŒæÆøØëËïÏ/ "äöüÄÖÜßçéáóúèàòùÉÁÓÚÈÀÒÙêÊôÔâÂûÛåÅœŒæÆøØëËïÏ with trailing slash":https://en.wikipedia.com/ä/öüÄÖÜßç/éáóúè/àòùÉÁÓÚ/ÈÀÒÙêÊôÔâÂû/ÛåÅœŒæÆøØëËïÏ/ "Google":link1 or "secure google":link2 [link1]http://google.com [link2]https://google.com expect : |de.wikipedia.org/wiki/Übermensch
福島駅 this is a test — no trailing slash.
äöüÄÖÜßçéáóúèàòùÉÁÓÚÈÀÒÙêÊôÔâÂûÛåÅœŒæÆøØëËïÏ without trailing slash
äöüÄÖÜßçéáóúèàòùÉÁÓÚÈÀÒÙêÊôÔâÂûÛåÅœŒæÆøØëËïÏ without trailing slash
福島駅 this is a test — with a trailing slash.
äöüÄÖÜßçéáóúèàòùÉÁÓÚÈÀÒÙêÊôÔâÂûÛåÅœŒæÆøØëËïÏ with trailing slash
äöüÄÖÜßçéáóúèàòùÉÁÓÚÈÀÒÙêÊôÔâÂûÛåÅœŒæÆøØëËïÏ with trailing slash
Self-referencing link alias : input : | Here is "$":0, and "another link":0, to the ^["$":0]^ site. [0]http://thresholdstate.com/?q=true Please check on "$":4 for any updates. [4]https://de.wikipedia.org/wiki/Übermensch expect : |Here is thresholdstate.com/?q=true, and another link, to the thresholdstate.com/?q=true site.
Please check on de.wikipedia.org/wiki/Übermensch for any updates.
Non-whitelisted link schemes : input : | "I'm a bad link":parp://parp.com expect : |“I’m a bad link”:parp://parp.com
Mixed XHTML and Textile Links : assert : skip notes : > Reported here... http://forum.textpattern.com/viewtopic.php?pid=157506#p157506 input : | example.org _word_ abc expect : |example.org word abc
Links with quoted text : notes : > Single quotes link text are fine, but double quotes break the link. Use " in this case. input : | "How free markets 'address' health care(title)":http://krugman.blogs.nytimes.com/2009/07/25/why-markets-cant-cure-healthcare/ "How free markets "address" health care(title)":http://krugman.blogs.nytimes.com/2009/07/25/why-markets-cant-cure-healthcare/ expect : |How free markets ‘address’ health care
How free markets "address" health care
Image : input : | !http://textpattern.com/favicon.ico! !Here’s the favicon from the TXP website…
Again, this time left aligned.
Embedded acronym inside acronym: input : | Tell me, what is AJAX(Asynchronous Javascript and XML), please? expect : |Tell me, what is AJAX, please?
Heading with class & id: input: | h2(heading#head). Hello! expect: |Newsweek’s a problem.
“Newsweek’s a problem.”
“Newsweek’s a problem.”
“Newsweek’s” a problem.
Newsweek’s a problem.
“Newsweek’s a problem.”
“Newsweek’s a problem.”
“Newsweek’s” a problem.
“Newsweek’s”
a problem.
Newsweek’s a problem.
‘Here is a quote!’
‘Here is another
quote!’
‘Here’s a quote!’
‘Here’s another
quote!’
‘Here’s a quote!’
‘Here’s a
quote!’
‘Here’s a quote!’
‘Here’s
a quote!’
“Here’s a link.”
Double quotes enclosing spans: input : | "Here's another one" Well "%here's another one%" Well "%+here+'s another one%" Well "%*here*'s another one%" Well "%_here_'s another one%" Well "%(class#id)_here_'s another one%" Well "%(class#id)_here_'s -yet _**another**_ ^example^ ~of~- *one*'s% "results":http://cnn.com. Howzat!" With "some *^more^* results":http://cnn.com "Should _Newsweek_'s editor be spared?" expect: |“Here’s another one”
Well “here’s another one”
Well “here’s another one”
Well “here’s another one”
Well “here’s another one”
Well “here’s another one”
Well “here’s yet another example of one’s results. Howzat!” With some more results
“Should Newsweek’s editor be spared?”
Single quotes or apostrophe? : input : | 'should this quote start with an apostrophe?' '"s" is my favourite letter!' expect: |‘should this quote start with an apostrophe?’
‘“s” is my favourite letter!’
Foreign character and quote support : input : | Ou est l'école, l'église s'il vous plâit? I like l'entrées. Do you? «Bonjour!» ecris Christophe. «Est-ce-que tu un petit café», he asked somewhat confusingly. SÆLGES d'être expect : |Ou est l’école, l’église s’il vous plâit?
I like l’entrées. Do you?
«Bonjour!» ecris Christophe. «Est-ce-que tu un petit café», he asked somewhat confusingly.
SÆLGES d’être
Code blocks, pre and exclusions : input : | bc(input). You can't _*touch*_ *_this_*... Hammer time. And keep your @(expect)mitts _*off*_ *_me_*@ as well. About the @You can't _*touch*_ *_this_*... Hammer time.
And keep your (expect)mitts _*off*_ *_me_*
as well. About the <hr />
tag.
As for the stuff in my *bold*, _emphasised_ & __italic__ codeblock, I think you'll find these tags entertaining:
<txp:linklist />
<txp:image_list category="squid">
<txp:image class="prawns" something="summat else" />
<br />
<txp:image_info type="caption" />
</txp:category>
Code block
with three empty lines
Aaaand, relax.
Paragraph 1
Paragraph 2
Paragraph 3
Basic span modifiers & glyphs:
input: |
This is the "start" and 'end'; and I'm stuck in '88!: With smd_g4llery's attributes where hëll_won't__fr33ze_over if I use apostrophes inside odd words and_underscores (Pah).
expect: |
This is the “start” and ‘end’; and I’m stuck in ’88!: With smd_g4llery’s attributes where hëll_won’t__fr33ze_over if I use apostrophes inside odd words and_underscores (Pah).
In-line citations : input : | A ??(myclass#myid4){color:green}[de-de]complex?? phrase. expect : |A complex phrase.
Square-brackets : input : | 1[^st^], 2[^nd^], 3[^rd^]. 2 log[~n~] A close[!http://textpattern.com/favicon.ico!]image. A tight["text":http://textpattern.com/]link. A ["footnoted link":http://textpattern.com/][182]. expect : |1st, 2nd, 3rd. 2 logn
A closeimage.
A tighttextlink.
A footnoted link182.
“test”
Issue 50 Fixes: notes: > Here are the possible rewrites for issue 50 that give the results the issue author was expecting. input: | “test” "%[en]test%" expect: |“test”
“test”
Issue 1 ... Bold it - it bold : input: | Some italic bold _*aaaa*_ text? Some bold italic *_bbbb_* text? expect: |Some italic bold aaaa text? Some bold italic bbbb text?
Make sure these don't get turned into lists... : input: | *Here is a comment* Here is *(class)a comment* *(class)Here is a class* that is a little extended and is *followed* by a strong word! bc. ; Content-type: text/javascript ; Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0 ; Expires: Sat, 24 Jul 2003 05:00:00 GMT ; Last-Modified: Wed, 1 Jan 2025 05:00:00 GMT ; Pragma: no-cache *123 test* *test 123* **123 test** **test 123** expect: |Here is a comment
Here is a comment
Here is a class that is a little extended and is
followed by a strong word!
; Content-type: text/javascript
; Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0
; Expires: Sat, 24 Jul 2003 05:00:00 GMT
; Last-Modified: Wed, 1 Jan 2025 05:00:00 GMT
; Pragma: no-cache
123 test
test 123
123 test
test 123
Basic Ordered List: setup: setHtmlType: xhtml input: | # Ordered # List # Live ## Including some newline ## And underlings # ... aaaaand back out p. And here we are with some _(alt)Other colours_ # red ## greeny browny pinkish ## black # blue expect: |And here we are with some Other colours
test
test
test
test
test
test
test
test
test
colours
test
Super | Fly | Table |
---|---|---|
first | ICL | 3 |
second | IBM | 4 |
third | Ordinary | 5 |
fourth | Foreign EXPÓŅÉNTIAL | 6 |
attribute list |
---|
align left |
align right |
center |
justify me |
valign top |
bottom |
Grade | Homeroom | Type | Tardy/Dismiss Time | Student |
---|---|---|---|---|
6 | Bates | Absent | - | Jones, Jeanne |
6 | O’Leary | Absent | - | Jones, Jackson |
7 | Garran | Absent | - | Jones, Lauren |
7 | Martin | Absent | - | Jones, Timothy |
7 | Martin | Tardy | 10:00 | Jones, John-Paul |
8 | Kast | Absent | - | Jones, Samuel |
8 | Woods | Absent | - | Jones, Evelyn |
a | b | c | d | e |
a | b | c | d | e |
a | b | c | d | e |
a | b | c | d | e |
a | b | c | d | e |
table | more | badass |
---|---|---|
Horizontal span of 3 | ||
first | HAL | 1 |
some | styled | content |
spans 2 rows | this is | quite a |
deep test | don’t you think? | |
fifth | I’m a lumberjack | 5 |
sixth | bold italics | 6 |
|
|
|
|
Nourishing beverage for baby cows.
Cold drink that goes great with cookies.
You can have multiple terms before a definition:
1-line blockquote 2: input : | bq. Don't suck the **brown stuff(tm)** off of "2 pence":http://royalmint.gov.uk coins; it ain't chocolate. expect : |Don’t suck the brown stuff off of 2 pence coins; it ain’t chocolate.
n-line blockquote: input : | bq.. Don't suck the **brown stuff(tm)** off of "2 pence":http://royalmint.gov.uk coins; it ain't chocolate. p. That's all. expect : |Don’t suck the brown stuff™ off of 2 pence coins; it ain’t chocolate.
Don’t suck the brown stuff™ off of 2 pence coins; it ain’t chocolate.
That’s all.
Blockquote with citation source : input : | bq.:http://textism.com/ Text... expect : |All capitals comment post : input : | HELLO, I SEE YOU DON'T LIKE PEOPLE TO SHOUT. WHY? expect : |Text…
HELLO, I SEE YOU DON’T LIKE PEOPLE TO SHOUT. WHY?
New tables : input : | |=(#captionola). My boombastic table caption. It must appear before the first thead/row |^. |_. thead-wrapped |_. column | |~(footjob). | tfoot-wrapped | column | |-. | tbody-wrapped | column | | some more | columny goodness | (colourful). | yet more | colourful rows | | nothing much | here | |-(nursery#rhyme). | if we go down |=. to the woods today | | we're sure of a | big surprise | expect : |thead-wrapped | column |
---|---|
tfoot-wrapped | column |
tbody-wrapped | column |
some more | columny goodness |
yet more | colourful rows |
nothing much | here |
if we go down | to the woods today |
we’re sure of a | big surprise |
Attribute | Default Value | Description |
---|---|---|
‘order’ | ‘cdo’ | Optional: order of sections. Omit or leave blank for default copyright-date-owner order. Valid values: ‘cdo’, ‘cod’ |
Title | Starring | Director | Writer | Notes |
---|---|---|---|---|
This is the tfoot, centred | ||||
The Usual Suspects | Benicio Del Toro, Gabriel Byrne, Stephen Baldwin, Kevin Spacey | Bryan Singer | Chris McQaurrie | One of the finest films ever made |
Se7en | Morgan Freeman, Brad Pitt, Kevin Spacey | David Fincher | Andrew Kevin Walker | Great psychological thriller |
Primer | David Sullivan, Shane Carruth | Shane Carruth | Shane Carruth | Amazing insight into trust and human psychology rather than science fiction. Terrific! |
District 9 | Sharlto Copley, Jason Cope | Neill Blomkamp | Neill Blomkamp, Terri Tatchell | Social commentary layered on thick, but boy is it done well |
Arlington Road | Tim Robbins, Jeff Bridges | Mark Pellington | Ehren Kruger | Awesome study in neighbourly relations |
Phone Booth | Colin Farrell, Kiefer Sutherland, Forest Whitaker | Joel Schumacher | Larry Cohen | Edge-of-the-seat stuff in this short but brilliantly executed thriller |
See1 for details — or perhaps100 at a push.
1 Here are the details.
100 A totally unrelated footnote.
Cross linked footref and footnote : notes : | Uses the '^' modifier on the footnote to turn on reverse linking to the *first* use of the corresponding reference The textile tester removes the random ID from the text returned by textile in this test. This allows the rest of the output to be tested. input : | See[2] for details, and later, reference it again[2]. fn2^(footy#otherid)[en]. Here are the details. expect : |See2 for details, and later, reference it again2.
2 Here are the details.
Unlinked footref and footnote : notes : | Uses the '!' modifier on the footref to turn off linking to the footnote The textile tester removes the random ID from the text returned by textile in this test. This allows the rest of the output to be tested. input : | See[3!] for details. fn3. Here are the details. expect : |See3 for details.
3 Here are the details.
Backlinked footref to footnote : notes : | Uses the '!' modifier on the footref to turn off linking to the footnote Uses the '^' modifier on the footnote to turn on reverse linking to the *first* use of the corresponding reference The textile tester removes the random ID from the text returned by textile in this test. This allows the rest of the output to be tested. input : | See[4!] for details. fn4^. Here are the details. expect : |See4 for details.
4 Here are the details.
Simple Note Links: input: | Scientists say[#lavader] the moon is quite small. But I, for one, don't believe them. Others claim it to be made of cheese[#aardman]. If this proves true I suspect we are in for troubled times[#apollo13] as people argue over their "share" of the moon's cheese. In the end, its limited size[#lavader] may prove problematic. note#lavader(noteclass). "Proof of the small moon hypothesis":http://antwrp.gsfc.nasa.gov/apod/ap080801.html. Copyright(c) Laurent Laveder note#aardman(#noteid). "Proof of a cheese moon":http://www.imdb.com/title/tt0104361 note#apollo13. After all, things do go "wrong":http://en.wikipedia.org/wiki/Apollo_13#The_oxygen_tank_incident. notelist{padding:1em;margin:1em;border-bottom:1px solid gray}. notelist{padding:1em;margin:1em;border-bottom:1px solid gray}:§^. notelist{padding:1em;margin:1em;border-bottom:1px solid gray}:‡. notelist!. expect: |Scientists say1 the moon is quite small. But I, for one, don’t believe them. Others claim it to be made of cheese2. If this proves true I suspect we are in for troubled times3 as people argue over their “share” of the moon’s cheese. In the end, its limited size1 may prove problematic.
French Cheeses
Note Links.: input: | Scientists say[#lavader] the moon is quite small. But I, for one, don't believe them. Others claim it to be made of cheese[#aardman]. If this proves true I suspect we are in for troubled times[#apollo13] as people argue over their "share" of the moon's cheese. In the end, its limited size[#lavader] may prove problematic. note#lavader. "Proof of the small moon hypothesis":http://antwrp.gsfc.nasa.gov/apod/ap080801.html. Copyright(c) Laurent Laveder note#aardman. "Proof of a cheese moon":http://www.imdb.com/title/tt0104361 note#apollo13. After all, things do go "wrong":http://en.wikipedia.org/wiki/Apollo_13#The_oxygen_tank_incident. h2. Here are my references. notelist{padding:1em;margin:1em;border-bottom:1px solid gray}. expect: |Scientists say1 the moon is quite small. But I, for one, don’t believe them. Others claim it to be made of cheese2. If this proves true I suspect we are in for troubled times3 as people argue over their “share” of the moon’s cheese. In the end, its limited size1 may prove problematic.
Scientists say1 the moon is quite small. But I, for one, don’t believe them. Others claim it to be made of cheese2. If this proves true I suspect we are in for troubled times3 as people argue over their “share” of the moon’s cheese. In the end, its limited size1 may prove problematic.
Scientists say1 the moon is quite small. But I, for one, don’t believe them. Others claim it to be made of cheese2. If this proves true I suspect we are in for troubled times3 as people argue over their “share” of the moon’s cheese. In the end, its limited size1 may prove problematic.
There should be nothing below.
Undefined note : input : | Paragraph with a note[#note] and more, but no definition. notelist. expect : |Paragraph with a note1 and more, but no definition.
W skład zestawu wchodzą:
W skład zestawu wchodzą:
Textile comments : input : | ###. Here's a comment. h3. Hello ###. And another one. Goodbye. expect : |Goodbye.
Smileys still smileys? : setup: setHtmlType: xhtml notes : Make sure smileys don't get recognised as a definition list. input : | :( :) :(\x20 :(\x20 :(\x20 :)\x20 Pinocchio! :^) Baboon! :=) Wink! ;) :[\x20 :] ;( something dark side :)\x20 ;(c)[de] Item expect : |:(
:)
:(
:(
:(
:)
Pinocchio!
:^)
Baboon!
:=)
Wink!
;)
:[
:]
;(
something
dark side
:)
My text
My text
My text
My text
My text
My text
My text
My text
My text
My text
{text-align:right;}My text
Unicode style
Classes/ids/langs on phrase modifiers : input: | ~(c#id)[en]My text~ %(c#id)[En]My text% ^(c#id)[EN]My text^ ??(c#id)[en-gb]My text?? *(c#id)[en-GB]My text* **(c#id)[en-Gb]My text** -(c#id)[ENG]My text- +(c#id)[eng]My text+ _(c#id)[kjwwef89]My text_ __(c#id)[12]My text__ @(c#id)[Whatever]My text@ expect: |My text
My text
My text
My text
My text
My text
My text
My text
My text
My text
(c#id)[Whatever]My text
My text
My text
My text
My text
My text
My text
My text
My text
My text
My text
@(c#id)[Whatever]My text@
Github Issue 50 (en-dash & strike) : setup: setHtmlType: xhtml input: | fjfhfjhf fhfhfh xyz - fjfhfjhf - fhfhfh - xyz a -b- a -b-\x20 a - b a -b a- b a-b -b a- b a - b a -\x20 b expect: |fjfhfjhf
fhfhfh
xyz
- fjfhfjhf
- fhfhfh
- xyz
a b
a b
a – b
a -b
a- b
a-b
-b
a-
b
a -
b
a –
b
Tables containing other textile elements.
.244 × -.123 = ? |
Don't _touch_ this! |
Don't _touch_ this! |
Don't _touch_ this! | Don't _touch_ this! |
You can touch this! | You can touch this! |
touch this! | touch this! |
superscripted | superscripted |
subscripted | subscripted |
strong | strong |
github.com/netcarver/textile | github.com/netcarver/textile |
This | is | a | row |
|
This | is | a | row |
|
‘’
“”
%%
^^
&&
**
__
—
++
~~
{}
[]
()
<>
\\
//
??
==
##
$$
!!
::
;;
..
,,
` `
‘ ‘
“ “
% %
^ ^
& &
_ _
- -
+ +
~ ~
{ }
[ ]
( )
< >
\ \
/ /
? ?
= =
$ $
! !
. .
, ,
Restricted mode security filtering mode with default options : setup: setRestricted: true setLite: true setImages: false setLinkRelationShip: nofollow input : | !10x10.gif! "bad protocol":file://local/file "javascript link":javacript:window.alert() "nofollow":http://example.com notextile. <{> !http://example.com/.png! "test":link1 [link1]http://example.com/ expect : |!10×10.gif!
“bad protocol”:file://local/file
“javascript link”:javacript:window.alert()
notextile. <iframe src=“xss/attempt”></iframe><{><script>window.alert(‘success’)</script>
!http://example.com/<script>window.alert(“Hello World!”);</script>.png!
<!— <a href=”#”>HTTML comment</a> —>
Token references : input : | Hello textileopentag0000000001z World! Try looking up textileRef:0000:84712874324. expect : |Hello textileopentag0000000001z World!
Try looking up textileRef:0000:84712874324.
Link and image encoding : input : | !http://example.com/?size=60&file=image.png! !http://example.com/needs<&"encoding.png! "Requires encoding":http://example.com/?foo&bar "Entity is merely part of text":http://example.com/?foo&bar "In path component":http://example.com/&.html expect : |