Input PHP (2.34 ms) ECMAScript






Minimal styling on output for comprehension and eye soothing only. Most is default browser behaviour though unless you tick the box above.

Sourcecode on GitHub

Markdown

Text formatting (ATX h1 header)

This is a flavored markdown processor for basic text styling.
Lines should end with two or more spaces
to have an intentional linebreak and not just continuing.

Text can be italic, bold with asterisks and underscores, italic and bold, striked through.
By adding decorators in the right place you achieve midwordemphasis and also mixed up emphasis.
Some escaping of formatting characters is possible with a leading \ as in bold * asterisk or striked ~~ through.
Subscript like H2O, superscript like X2 and marked text are available.
A custom markdown for this processor can make font larger or smaller

Substitutions (SETX h1 header)

Task lists can be created a well
where [ ] and [x]
are converted to html checkboxes

© © ® ® ™ ™ Ⓟ Ⓟ ± → will be replaced by their symbol
unless escaped: (c) (C) (r) (R) (tm) (TM) (p) (P) +- ->

Links will be replaced if not in safeMode, unless they are internal references

http://some.url, not particularly styled, just a detected protocol
a phone number: tel:012345678
[Styled link to markdown information](https://www.markdownguide.org)
<http://some.other.url> with brackets
[urlencoded link with title](http://some.url?test2=2&test3=a=(/bcdef "some title") and [javascript: protocol](javascript:alert('hello there'))
some@mail.address converted to mailto: and an escaped@mail.address
an image if loadable

Internal references (h3 header)

this is a reference link with a match somewhere and an attempt where the actual reference has been forgotten

Here's a simple footnote[1], and here's a longer one[2]. Footnotes will appear at the bottom later.

(http://valid.reference.match)

Other internal navigation (h4 header)

top header
second header
fifth header


Lists (SETX h2 header)

  1. Ordered list items start with a number and a period
    • Unordered list items start with asterisk or dash
    • Sublist nesting
    • is possible
    • by indentating with four spaces
      1. and list types
      2. are interchangeable
      3. and
        1. can
          1. be
            1. nested
              1. until
                1. you're
                  1. tired
  2. Ordered list item with
    multiple lines
    1. the numbers
    2. of ordered lists
    3. actually don't
    4. matter at all
      1. unless the start number is other than 1
      2. then you'll have an offset
123. with an escaped period avoids a list

Nested ordered lists cycle through arabic numerals, roman numerals uppercase, roman numerals lowercase, latin alphabet uppercase and latin alphabet lowercase as numeration.

Tables

Table header 1Table header 2Table header 3and 4
emphasisispossibletoo
linebreaksarenotthough without
HTML <br />
andaligningtextcolumnwise

Blockquotes, code and definition lists

Blockquote
with multiple lines
as seen in many email programs
start with a >

 preformatted text/code can
start with 4 spaces <code>

or being surrounded by
three ` or ~
<!-- html comments are not
rendered as such here -->
Inline code with two ore more characters between the symbols and some code with <brackets>,
also code with ` escaped by double backticks and code with an escaped \`-character render inline.
Definition list containing
definition lines that
start with a :

Nesting

  1. List items can contain

    Blockquotes

  2. or
    TablesColumn2
    R1C1R1C2
  3. also
    code with
    multiple lines
  4. and
    accomplished and
    unaccomplished tasks

Same goes for

blockquotes

  1. with
  2. nested
    • lists
definition lists
with multiple
lines
Tables nestedwithinblockquotes
arepossibleas well

<a href="http://some.shady.website">totally legit website link</a>
<a href="javascript:void(0)" onclick="alert('click event')">a with click event</a>
<a href="javascript:alert('a with js href')">a href with click event</a>
[markdown link with js protocol href](javascript:alert('md with js href'))

>>clickable div<<

safeMode restricted tags

e.g.
<script>alert('this script injection had been presented by disabled safeMode')</script>


  1. This is the first footnote.
  2. Here's one with multiple lines and other elements. Indent the content to include it in the current footnote.
    Add as many lines as you like.
    code blocks
    are supported

    as well as

    blockquotes

    with inline code

    andof
    coursetables
    1. and lists
    2. with the next type though