--- name: header one in: h1. Header 1 html:

Header 1

latex: "\section*{Header 1}\n\n" --- name: header two in: h2. Header 2 html:

Header 2

latex: "\subsection*{Header 2}\n\n" --- name: header three in: h3. Header 3 html:

Header 3

latex: "\subsubsection*{Header 3}\n\n" --- name: blockquote in: |- Any old text. bq. A block quotation. Any old text. 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: |-
  1. A first item
  2. A second item
  3. A third item
  4. A fourth item
latex: |+ \begin{enumerate} \item A first item \item A second item \item A third item \item A fourth item \end{enumerate} --- in: |- * A first item * A second item * A third item * A fourth item html: |- latex: |+ \begin{itemize} \item A first item \item A second item \item A third item \item A fourth item \end{itemize} --- in: _a phrase_ 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.

" general_disable_inline: "

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.

general_disable_inline: '

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.

general_disable_inline: '

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.

general_disable_inline: '

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 header2, indented 1em both side

--- in: h3=. centered header html:

centered header

--- in: '!>/image.gif! right-aligned image' 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
--- in: |- table{border:1px solid black}. |This|is|a|row| |This|is|a|row| html: |-
This is a row
This is a row
--- in: '{background:#ddd}. |This|is|a|row|' html: |-
This is a row
--- in: |- |{background:#ddd}. Cell with gray background| |\2. Cell spanning 2 columns| |/3. Cell spanning 3 rows| |>. Right-aligned cell| html: |-
Cell with gray background
Cell spanning 2 columns
Cell spanning 3 rows
Right-aligned cell
--- name: basics in: |- h2{color:green}. This is a title h3. This is a subhead p{color:red}. 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. bq[fr]. This is a block quote. I'll admit it's not the most exciting block quote ever devised. Simple list: #{color:blue} one # two # three Multi-level list: # one ## aye ## bee ## see # two ## x ## y # three html: |-

This is a title

This is a subhead

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:

  1. one
  2. two
  3. three

Multi-level list:

  1. one
    1. aye
    2. bee
    3. see
  2. two
    1. x
    2. y
  3. three
--- name: tougher stuff in: |- Multi-level list: # one ## aye ## bee ## see # two ## x ## y # three Mixed list: * Point one * Point two ## Step 1 ## Step 2 ## Step 3 * Point three ** Sub point 1 ** Sub point 2 Well, that went well. How about we insert an old-fashioned hypertext link? Will the quote marks in the tags get messed up? No! "This is a link (optional title)":http://www.textism.com html: |-

Multi-level list:

  1. one
    1. aye
    2. bee
    3. see
  2. two
    1. x
    2. y
  3. three

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!

This is a link

--- 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
--- in: |- An image: !/common/textist.gif(optional alt text)! # Librarians rule # Yes they do # But you knew that 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. html: |-

An image:

optional alt text

  1. Librarians rule
  2. Yes they do
  3. But you knew that

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.

--- name: code in: |- h3. Coding This 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: |-

Coding

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: |- --- name: copyright symbol at line start in: "(C) copyright conversion (C) test." html: "

© copyright conversion © test.

"