CTAN
Comprehensive TeX Archive Network

CTAN Mark­down: Para­graphs

Text sep­a­rated by empty lines con­sti­tutes a para­graph. One line break alone has no spe­cial ef­fect.

The line sep­a­ra­tor can ei­ther be \n (UNIX), \r (MacOS), or \r\n (Win­dows). They are treated as equiv­a­lent. Thus the same re­sult can be achieved on the var­i­ous op­er­at­ing sys­tems. But also an ar­bi­trary mix­ture of such lines is treated rea­son­ably.

The en­cod­ing of the in­put is UTF-8.

 Text separated by empty lines constitutes a paragraph. One line break
alone has no special effect.

The line separator can either be \\n (UNIX), \\r (MacOS), or \\r\\n
(Windows). They are treated as equivalent. Thus the same result can be
achieved on the various operating systems. But also an arbitrary mixture of
such lines is treated reasonably.

Text sep­a­rated by empty lines con­sti­tutes a para­graph. One line break alone has no spe­cial ef­fect.

The line sep­a­ra­tor can ei­ther be \n (UNIX), \r (MacOS), or \r\n (Win­dows). They are treated as equiv­a­lent. Thus the same re­sult can be achieved on the var­i­ous op­er­at­ing sys­tems. But also an ar­bi­trary mix­ture of such lines is treated rea­son­ably.

Es­cap­ing

The char­ac­ter \ acts as es­cape char­ac­ter. In para­graph mode any back­slash fol­lowed by a char­ac­ter is ren­dered as the fol­low­ing char­ac­ter. This can be used to in­clude char­ac­ters which would oth­er­wise have a spe­cial mean­ing.

\\ ren­ders as \
\* ren­ders as *
\_ ren­ders as _
\- ren­ders as -
\. ren­ders as .
\[ ren­ders as [
\( ren­ders as (
\x ren­ders as x
etc

Trans­la­tions

A HTML en­tity is passed through un­changed.

A & is trans­lated to & if it is not part of a proper HTML en­tity. Thus you can sim­ply write AT&T with­out any spe­cial pre­cau­tions.

The fol­low­ing in­put strings are trans­lated as well:

in­put...prints as...
--
---

In ad­di­tion lo­gos are trans­lated into their proper form. De­tails and a com­plete list can be found on the help page for Lo­gos.

CTAN Mark­down

CTAN Mark­down Tester

The re­sult of the mark­down can in­ter­ac­tively be tested with our

Mark­down Tester
Guest Book Sitemap Contact Contact Author