Basic tests for all CommonMark constructs.
This is an http://example.org and another one you@example.org.
A line ending (not in a code span or HTML tag) that is preceded by two or more spaces and does not occur at the end of a block is parsed as a hard line break.
So this means we had softbreaks so far and now we get
a hard break
and another one.
So this means we had softbreaks so far and now we get
a hard break
and another one. This is very soooft.
This is a multi-line code code span `` it has backticks in there
Sometimes code spans `can have really ``` strange layout
. Do you fancy `A_polymorphic_variant
?
There is more than one syntax for emphasis and strong emphasis. We should be careful about embedded * marker. This will be tricky * to handle. This is not ** what you want ?
This is an
That is totally colla psed and
that is short cuted
Shortcuts can be better than full references but not always and we'd like to trip their label.
Haha a
Haha a
hihi this is not the end yet.
Impressive isn't it ?
How is Nestyfing going on These irregularities will normalize We keep only the first block quote indent
Further tests
We need a little quote here
It's warranted.
type t =
| A of int
| B of string
let square x = x *. x
The indented code block:
a b c d
a b c d
a b c d
a
a b c
type t = | A of int | B of string let square x = x *. x
bbb
hey
bbbb
The square
function is the root. There are reasons for this:
Quoted bullets
- Is this important ?
Empty list item above
We really want your paragraph layout preserved. Really ? Really. Really. Really.
We really want your paragraph layout preserved. Really ? Really. Really. Really.