ReTxt2tags: about, details, sampler, Original txt2tags sample, issues

Sampler page for ReTxt2tags styles


H1 title with default style

H2 title with default style

H3 title with default style

H4 title with default style

H5 title with default style

Underlined H1 title | rmd-h1-underline

Uppercase H1 title | rmd-h1-uppercase

Underlined H2 title | rmd-h2-underline

Look, a horizontal rule!


This HR uses the default asterisks and left alignment. The next one uses the rmd-hr-center and rmd-hr-minus classes.


  1. Simple OL list
    First element
  2. Second element
  3. Third element

Quotes are nice. And this flim is great.

Je me permets d’interrompre ce flim parce qu’on se fout un peu de ma gueule. C’est du vol et du plagiat. J’aime pas trop les voleurs et les fils de pute.

Dans ce film le héros meurt au début et des journalistes décident d’enquêter sur ses dernières paroles, comme dans Citizen Kane. J’appelle ça du plagiat.

— Orson Welles, in La Classe américaine

Quotes in quotes in quotes?

Dan wrote:

Bob wrote:

Sandy wrote:

What the hell is this movie?

A lot of nonsense.

What? It makes perfect sense. Get a grip, Bob.

Thanks, Dan.


Take a look at the EM and STRONG elements.

Txt2tags also supports strike-through and underline, bold and italic

CODE elements show up as some code. They’re used all over this page so you’re bound to have seen them already.


Of course you can have links. They show up as normal HTML links by default. There’s an alternative style which adds square brackets, using the rmd-link-bracket class. But feel free to customize.

Thanks to the rmd-a-showurl class, URLs of links in this paragraph are shown (and will be printed) next to the link text, mimicking the classic Txt2tags syntax: Link A and link B and link C.

This paragraph is similar, except we’re using the rmd-a-printurl class, so URLs will be printed next to links but not shown on screen. See link A and link B and link C.

While URLs of links in this section will be printed as references at the end of the section: Link A and link B and link C.

Note that in-page links and obvious mailto links (such as lol@what.com) will not be printed, but non-obvious email links will; also, internal links will be resolved as full URLs.


/* A block of code
   Departing a bit from Txt2tags syntax: the space on the left is 3
   characters (in browsers which support the CSS3 `ch` unit), to align
   nicely with list items and quotations.
   We’re also mapping Tab characters to 3 characters (the default in
   most browsers is 8) in supporting browsers.
*/
.rt2t-on pre {
  margin-left: 3ch;
  tab-size: 3;
}

The end.