aboutsummaryrefslogtreecommitdiff
path: root/tests/textile-reader.textile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/textile-reader.textile')
-rw-r--r--tests/textile-reader.textile29
1 files changed, 27 insertions, 2 deletions
diff --git a/tests/textile-reader.textile b/tests/textile-reader.textile
index 85dcf142c..f52212af3 100644
--- a/tests/textile-reader.textile
+++ b/tests/textile-reader.textile
@@ -70,6 +70,17 @@ bc. Code block with .bc
Inline code: @<tt>@, <tt>@</tt>.
+h1. Notextile
+
+A block of text can be protected with notextile :
+
+<notextile>
+No *bold* and
+* no bullet
+</notextile>
+
+and inlines can be protected with ==double *equals (=)* markup==.
+
h1. Lists
h2. Unordered
@@ -115,14 +126,15 @@ h1. Inline Markup
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*":http://www.foobar.com.
_*This is strong and em.*_
So is *_this_* word and __**that one**__.
-This is strikeout and *strong*-
-Superscripts: a^bc^d a^*hello*^ a^hello there^.
-Subscripts: H~2~O, H~23~O, H~many of them~O.
+Superscripts: a[^bc^]d a^*hello*^ a[^hello there^].
+Subscripts: ~here~ H[~2~]O, H[~23~]O, H[~many of them~]O.
Dashes : How cool -- automatic dashes.
@@ -143,6 +155,8 @@ Automatic linking to http://www.example.com and foobar@example.com.
"Example":http://www.example.com/: Example of a link followed by a colon.
+A link["with brackets":http://www.example.com]and no spaces.
+
h1. Tables
Textile allows tables with and without headers :
@@ -198,6 +212,17 @@ Html blocks can be <div>inlined</div> as well.
Can you prove that 2 < 3 ?
+h1. Raw LaTeX
+
+This Textile reader also accepts raw LaTeX for blocks :
+
+\begin{itemize}
+ \item one
+ \item two
+\end{itemize}
+
+and for \emph{inlines}.
+
h1. Acronyms and marks
PBS(Public Broadcasting System)