mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 03:47:20 +00:00
a6fae6b780
These are just unmarked code blocks. Closes #11339.
1.1 KiB
1.1 KiB
% pandoc -f org -t native
* has space after second colon
: aaa
:
: bbb
* has no space after second colon
: aaa
:
: bbb
^D
[ Header
1
( "has-space-after-second-colon" , [] , [] )
[ Str "has"
, Space
, Str "space"
, Space
, Str "after"
, Space
, Str "second"
, Space
, Str "colon"
]
, CodeBlock ( "" , [] , [] ) "aaa\n\nbbb\n"
, Header
1
( "has-no-space-after-second-colon" , [] , [] )
[ Str "has"
, Space
, Str "no"
, Space
, Str "space"
, Space
, Str "after"
, Space
, Str "second"
, Space
, Str "colon"
]
, CodeBlock ( "" , [] , [] ) "aaa\n\nbbb\n"
]
% pandoc -f org -t native
* only the colon
:
* only the colon and a space
:
^D
[ Header
1
( "only-the-colon" , [] , [] )
[ Str "only" , Space , Str "the" , Space , Str "colon" ]
, CodeBlock ( "" , [] , [] ) "\n"
, Header
1
( "only-the-colon-and-a-space" , [] , [] )
[ Str "only"
, Space
, Str "the"
, Space
, Str "colon"
, Space
, Str "and"
, Space
, Str "a"
, Space
, Str "space"
]
, CodeBlock ( "" , [] , [] ) "\n"
]