LiteComment logo

LiteComment formatter test demo | homepage »

You can enter some custom text to format:

Antispam setting for email addresses:
<= Format sample text or

Original text | Skip to formatted output »

Valid XHTML 1.0 Transitional Formatted 5.86 KiB in 0.03490 msec (0.00596 msec per 1 KiB).

By the way, it must be valid XHTML!

Be sure to check UverseWiki if you need the power of serious formatting.

quote levels are wrapped each $maxQuoteLevel (4 by default)
>quote 1st level
>>quote 2nd level
>>>>>>>>quote 8th level
> quote 1st level with a space after >
>> quote 2nd level with a space after >'s
>>>>>>>>    quote 8th (actually 1st) level with space after >'s
> > can use spaces inside >'s - still a valid quote with all but >'s cleaned out
empty quote (2nd level):
>>
>  >   >   more spaces!

also supporting blockquotes using ":
"
  citing
nothing is *formatted* here (as with `code`)
    .......
"
single apostrophes won't work:
'
no!
'

  >>not quote (should stick to line start)
  <<not quote

  a *bold* & `proportional` text
  *
  not* *bold *text *
  ` not prop`

`
  CO
  D
  E
  *nothing* is formatted here
`
  `
  not code (because of indentation of ` tags)
  `

  rules (all with different CSS classes):
-----
~~~~~
+++++
=====
  rules, may be indented
  ~~~~~~~~~~~~~~~~~~~~~~~~~
  -------------------------
  no rules (but dashes):
  --- z
  z ---
  z---
  ---z
  --z--

  =no heading=
  ==h3==
  ===h4
===== h5 (& not indented)
  ====== h6 (& indented; space after =)
  ================ still h6
  ========= any number of =============== is allowed on both sides =
  == or you can just omit the rightmost one

  special insets:
  [- a link -] [- args | a=1 | a=2 | a2=3-] [- you can \| escape them -]
  [- a link with | title=custom title -][- or even | title=a picture.svg -]
  URLs with '=' (normally it's treated as key=value pair but not in URLs):
  [-a=link | title=key=value, indeed-] [- a= -]
  also note that but default no title is supplied for such "explicit" links (i.e. defined using insets):
  [- ?action=open&what=the+web -]
  you can use a shorthand notation for specifying the title:
  [- http://url | this is the \|\|\| title -]
  but key=value => "title=..." will override the shorthand: [-url|no title|title=but this is-]

  note that an inset should contain at least 3 chars inside:
  this is not an inset: [-i-]
  but this is (although spaces are trimmed anyway): [- i -]
  also note an interesting outcome of this, making two insets to merge: [-i-] [- i -] = [- i?!. -]
  (but insets having enough chars inside are, logically, not merged)

  Here's some text preceding the link - http://some URL
  Here's some text preceding the link: http://www.some URL
  Here's some text preceding the link: http://www.some.kz URL
  Here's some text preceding the link: www.some URL
  Here's some text preceding the link www.some URL
  Here's some text preceding the link www.jpg!
  punctuation is *not* glued with URL (what a shame for Wikipedia):
    http://zzed/) http://zzed/! http://zzed/? http://zzed/. etc.
  but is ok within: http://url/net?que&ry.
  the only exception to this rule is slash: http://url/path/
  empties: http://  empties http://  empties: www.  empties www.
    not empty: http://zzy  not empty http://zzy  not empty: www.zzy  not empty www.zzy
    too short: http://z  too short http://z  too short: www.z  too short www.z
  note that if a link starts with "www.", "http://" is prepended automatically |
    www.i-tools.org
  also note that in case of URLs with no title its scheme (like http://) is stripped away |
    http://proger.i-forge.net

  some pictures (note that local paths are recognized unlike for links):
    /a/b/c.gif http://lol.net/ru.xbm
  http://some url.ru  www.some url.ru  http://www.some url.ru
  Here's some text preceding regular text: some URL

    m-a.il@to.me
  A mailto: mail@to.me  A mail to: mail@to.me  A mail to- mail@to.me
  A mailto:mail@to.me  A mail to - mail@to.me  A mail to : mail@to.me
    no@mail  @  no.mail@  @no-mail  no=@mail.ru  no@mail.z8  no@mail.z  no@mail.zzzzzzzzzzzzzzzz
  No mailto - no@mail
  trailing punctuation won't break it: m@a.il. a@il.me999 aa@bb.cc!!!!

  a (p) ara  a (p)ara  here too(p)  but(p)not here
  many (c) (r) and other (tm)
  - many -- da --- sh ---- es
  -da--daa---daa----DASH!

  give me somebody ship!!!!!!!!!!!!!
  two dots.. into one . dot a........... .....leading multiplications are also compacted
  and ............ standing alone as well
  three... into three.....
  one! two!! three!!! aaaaagh!!!!
  sounds of logic..wil always...play.....the melody of truth!!!!(c) Spiral
  here ..... too !!!!!
  what the??????????????? mixes are replaced with the first char, e.g. here?!?!?!!!???

  ordinal #55 number. the #4444th - the 1st. not replaced#55 - #55x - 1#2 ##3 4rr.
  a +- +-plus-me +-1 no+- 1+- no +=
    all the same: single equation = double equation == triple equation ===
    short right => long right ==> very long right (the same) ===>
    short left <= long left <== very long left (the same) <===
    all the same: short double <=> long double <==> very long double <===>
  one goes there => and one another here <=
  this is a heading:
    ===> heckle <====> Bizarrou <===
  but this is not:
    some text preceding the left ='s ===> heckle <====> Bizarrou <===

  a smirk 1*1 1x1 1X1 z1*1 1*1z
  with spaces: 1 * 2 x 3 x 4 z5 * 6 7 * 8z
  other operations: 1 / 2 : 3 : 4 - 5/6 7/8
  not a matrix: z1x2z, and nor: z*2z, but this is indeed: z1*2z
  it was "Miku's day" yesterday ^_~
  a cite can be followed by any punctuation and even have some inside:
    'M"i'k"u.' . "M'i"k'u". 'M"i'k"u!' ! "M'i"k'u"!
  no " no no""no ""yes""
  single 'quo tes' ' ' 'qqq

== Recursive formatting ==
=== *a* formatted `heading` ===

"
"a" *formatted*
block `quote`
"

`
code *isn't*
`formatted`
`

a "formatted *inline* `citation`"!
>> `a`. "formatted" inline `quote`...
`as usual, *CODE* isn't "formatted"`
...*while bold `text` still "is".*

Formatted output

This denotes formatted stuff.
quote levels are wrapped each $maxQuoteLevel (4 by default)
> quote 1st level
>> quote 2nd level
>>>>>>>> quote 8th level
> quote 1st level with a space after >
>> quote 2nd level with a space after >'s
>>>>>>>> quote 8th (actually 1st) level with space after >'s
>> can use spaces inside >'s still a valid quote with all but >'s cleaned out
empty quote (2nd level):
>>
>>> more spaces!

also supporting blockquotes using ":
citing
nothing is *formatted* here (as with `code`)

single apostrophes won't work:
'
no!
'

>>not quote (should stick to line start)
<<not quote

a *bold* & `proportional` text
*
not* *bold *text *
` not prop` CO
D
E
*nothing* is formatted here

`
not code (because of indentation of ` tags)
`

rules (all with different CSS classes):




rules, may be indented


no rules (but dashes):
z
z
z---
---z
--z--

=no heading=

h3

h4

h5 (& not indented)
h6 (& indented; space after )
still h6
any number of is allowed on both sides

or you can just omit the rightmost one



special insets:
[a link] [args] [you can | escape them]
custom titlea picture.svg
URLs with «» (normally it's treated as key=value pair but not in URLs):
key=value, indeed [a=]
also note that but default no title is supplied for such «explicit» links (i.e. defined using insets):
[?action=open&what=the+web]
you can use a shorthand notation for specifying the title:
this is the ||| title
but key=value «title=» will override the shorthand: but this is

note that an inset should contain at least 3 chars inside:
this is not an inset: [-i-]
but this is (although spaces are trimmed anyway): [i]
also note an interesting outcome of this, making two insets to merge: [i-] [- i] [i?!.]
(but insets having enough chars inside are, logically, not merged)

Here's some text preceding the link URL
Here's some text preceding the link URL
Here's some text preceding the link URL
Here's some text preceding the link URL
Here's some text preceding the link URL
Here's some text preceding the link http://www.jpg!
punctuation is *not* glued with URL (what a shame for Wikipedia):
[zzed]) [zzed]! [zzed]? [zzed]. etc.
but is ok within.
the only exception to this rule is slash
empties: http:// empties http:// empties: www. empties www.
not empty not empty not empty not empty
too short: http://z too short http://z too short: www.z too short www.z
note that if a link starts with «www.», «http://» is prepended automatically |
[www.i-tools.org]
also note that in case of URLs with no title its scheme (like http://) is stripped away |
[proger.i-forge.net]

some pictures (note that local paths are recognized unlike for links):
/a/b/c.gif http://lol.net/ru.xbm
[some] url.ru [www.some] url.ru [www.some] url.ru
Here's some text preceding regular text: some URL

m-a.il~@~to~me
A mail~@~to~me A mail~@~to~me A mail~@~to~me
A mail~@~to~me A mail~@~to~me A mail~@~to~me
no@mail @ no.mail@ @no-mail no=@mail.ru no@mail.z8 no@mail.z no@mail.zzzzzzzzzzzzzzzz
No mailto no@mail
trailing punctuation won't break it: m~@~a~il. a~@~il~me999 aa~@~bb~cc!!!!

a § ara a §ara here too§ but(p)not here
many © ® and other
many da sh es
-da--daa---daa----DASH!

give me somebody ship
two dots. into one . dot a leading multiplications are also compacted
and standing alone as well
three into three
one! two! three aaaaagh
sounds of logic.wil alwaysplaythe melody of truth!© Spiral
here too !!!!!
what the?? mixes are replaced with the first char, e.g. here??

ordinal 55 number. the 4444th the 1st. not replaced#55 #55x 1#2 ##3 4rr.
a ± ±plus-me ±1 no+- 1+- no +=
all the same: single equation double equation triple equation
short right long right very long right (the same)
short left long left very long left (the same)
all the same: short double long double very long double
one goes there and one another here
this is a heading:

> heckle Bizarrou <


but this is not:
some text preceding the left 's heckle Bizarrou

a smirk 1×1 1×1 1×1 z1×1 1×1z
with spaces: 1×2 x 3×4 z5×6 7×8z
other operations: 1÷2 : 3÷4 5÷6 7÷8
not a matrix: z1x2z, and nor: z*2z, but this is indeed: z1×2z
it was «Miku's day» yesterday ^_~
a cite can be followed by any punctuation and even have some inside:
«M"i'k"u.» . «M'i"k'u». «M"i'k"u!» ! «M'i"k'u»!
no " no no""no «yes»
single «quo tes» ' ' 'qqq

Recursive formatting

*a* formatted `heading`

«a» *formatted*
block `quote`
code *isn't*
`formatted`


a «formatted *inline* `citation`»!
>> `a`. «formatted» inline `quote`
`as usual, *CODE* isn't "formatted"`
*while bold `text` still «is».*