"Fossies" - the Fresh Open Source Software Archive

Member "pandoc-2.7.3/test/command/3497.md" (12 Jun 2019, 386 Bytes) of package /linux/www/pandoc-2.7.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Escape list markers at beginning of paragraph:

% pandoc -t markdown
\* ok

\+ ok

\- ok

1\. ok

a\. ok
^D
\* ok

\+ ok

\- ok

1\. ok

a\. ok

Here we don’t need to escape because there’s no space:

% pandoc -t markdown
\+ok

\-ok

1.ok
^D
+ok

-ok

1.ok

Also escape things that might become line blocks or tables:

% pandoc -t markdown
\| hi \|
^D
\| hi \|