--- name: header one in: h1. Header 1 html:
Any old text.
A block quotation.
Any old text.
latex: |+ Any old text. \begin{quotation} A block quotation. \end{quotation} Any old text. --- in: |- # A first item # A second item # A third item # A fourth item html: |-a phrase
latex: "\\emph{a phrase}\n\n" --- in: __a phrase__ html:a phrase
latex: "\\emph{a phrase}\n\n" --- in: '*a phrase*' html:a phrase
latex: "\\textbf{a phrase}\n\n" --- in: '**a phrase**' html:a phrase
latex: "\\textbf{a phrase}\n\n" --- in: Nabokov's ??Pnin?? html:Nabokov’s Pnin
latex: "Nabokov's \\begin{quote}Pnin\\end{quote}\n\n" --- name: del part of word in: 'A very [-extra-]ordinary day.' html: "A very extraordinary day.
A very [-extra-]ordinary day.
" latex: "A very \\sout{extra}ordinary day.\n\n" --- name: del part of word that contains a hyphen in: 'An [-extra-extra-]ordinary day.' html:An extra-extraordinary day.
An [-extra-extra-]ordinary day.
' latex: "An \\sout{extra-extra}ordinary day.\n\n" --- name: del a phrase in: 'Delete -a phrase- this way.' html:Delete a phrase this way.
Delete -a phrase- this way.
' latex: "Delete \\sout{a phrase} this way.\n\n" --- name: del a phrase that contains hyphens in: 'Delete -a no-nonsense phrase- this way.' html:Delete a no-nonsense phrase this way.
Delete -a no-nonsense phrase- this way.
' latex: "Delete \\sout{a no-nonsense phrase} this way.\n\n" --- in: +a phrase+ html:a phrase
latex: "\\underline{a phrase}\n\n" --- in: ^a phrase^ html:a phrase
latex: "\\ensuremath{^\\textrm{a phrase}}\n\n" --- in: ~a phrase~ html:a phrase
--- in: %(myclass)SPAN% html:SPAN
no_span_caps_html:SPAN
--- in: %{color:red}red% html:red
--- in: %[fr]rouge% html:rouge
--- in: _(big)red_ html:red
--- in: p(bob). A paragraph html:A paragraph
--- in: p{color:#ddd}. A paragraph html:A paragraph
--- in: p[fr]. A paragraph html:A paragraph
--- in: h2()>. right-aligned header2, indented 1em both side html:right-aligned image
--- in: p[no]{color:red}. A Norse of a different colour. html:A Norse of a different colour.
--- in: |- |This|is|a|simple|table| |This|is|a|simple|row| html: |-This | is | a | simple | table |
This | is | a | simple | row |
This | is | a | row |
This | is | a | row |
This | is | a | row |
Cell with gray background | |
Cell spanning 2 columns | |
Cell spanning 3 rows | |
Right-aligned cell |
This is some text of dubious character. Isn’t the use of “quotes” just lazy writing — and theft of ‘intellectual property’ besides? I think the time has come to see a block quote.
This is a block quote. I’ll admit it’s not the most exciting block quote ever devised.
Simple list:
Multi-level list:
Multi-level list:
Mixed list:
Well, that went well. How about we insert an old-fashioned hypertext link? Will the quote marks in the tags get messed up? No!
--- name: table in: |- table{border:1px solid black}. |_. this|_. is|_. a|_. header| <{background:gray}. |\2. this is|{background:red;width:200px}. a|^<>{height:200px}. row| |this|<>{padding:10px}. is|^. another|(bob#bob). row| html: |-this | is | a | header |
---|---|---|---|
this is | a | row | |
this | is | another | row |
An image:
Some more text of dubious character. Here is a noisome string of CAPITAL letters. Here is something we want to emphasize.
That was a linebreak. And something to indicate strength. Of course I could use my own HTML tags if I felt like it.
is some code, "isn't it"
. Watch those quote marks! Now for some preformatted text:
$text = str_replace("%::%
","",$text);
$text = str_replace("%::%","",$text);
$text = str_replace("%::%","",$text);
This isn't code.
html: |-
This is some code, "isn't it"
. Watch those quote marks! Now for some preformatted text:
$text = str_replace("<p>%::%</p>","",$text);
$text = str_replace("%::%</p>","",$text);
$text = str_replace("%::%","",$text);
This isn’t code.
--- name: hard break in: |- trivial break next html: |-trivial
break
next
--- name: normal paragraphs in: |- trivial paragraphs html: |-trivial
paragraphs
--- name: hard break in a list in: |- * first line * second line * third line html: |-© copyright conversion © test.
"