$ comrak -t commonmark -t xml
hello hello hello hello hello hello
hello hello hello hello hello hello
hello hello hello hello hello hello
$ comrak --width 20 -t commonmark -t xml
hello hello hello hello hello hello
hello hello hello hello hello hello
hello hello hello hello hello hello
$ comrak --width 72 -t commonmark -t xml
this should break because it has breakable characters. break right here newline
don't break
a-long-line-that-won't-break-because-there-is-no-character-it-can-break-on
this should break because it has breakable characters. break right here newline
don't break
a-long-line-that-won't-break-because-there-is-no-character-it-can-break-on
this should break because it has breakable characters. break right here newline
don't break
a-long-line-that-won't-break-because-there-is-no-character-it-can-break-on
$ comrak --width 80 -t commonmark -t xml
This is a paragraph with short lines.
This is a
paragraph with
short lines.
This is a
paragraph with
short lines.
$ comrak --width 20 -t commonmark -t xml
-
- a list item that goes on and on and on for quite a while
a block quote that also goes on and on for quite a while
a list item that goes on and on and on for quite a while
a block quote that also goes on and on for quite a while
-
a list item that goes on and on and on for quite a while
a block quote that also goes on and on for quite a while
$ comrak -e table --width 80 -t commonmark -t xml
| option | description |
|---|---|
| -o | Write output to FILE instead of stdout |
| --gfm | Use GFM-style quirks in output HTML, such as not nesting tags, which otherwise breaks CommonMark compatibility |
option
description
-o
Write output to FILE instead of stdout
--gfm
Use GFM-style quirks in output HTML, such as not nesting <!-- raw HTML omitted --> tags, which otherwise breaks CommonMark compatibility
option
description
-o
Write output to FILE instead of stdout
--gfm
Use GFM-style quirks in output HTML, such as not nesting
<strong>
tags, which otherwise breaks CommonMark compatibility