CTAN Markdown: Paragraphs
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.
The encoding of the input 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 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.
Escaping
The character \
acts as escape character. In paragraph mode
any backslash followed by a character is rendered as the following
character. This can be used to include characters which would otherwise
have a special meaning.
\\
renders as \
\*
renders as *
\_
renders as _
\-
renders as -
\.
renders as .
\[
renders as [
\(
renders as (
\x
renders as x
etc
Translations
A HTML entity is passed through unchanged.
A & is translated to & if it is not part of a proper HTML entity. Thus you can simply write AT&T without any special precautions.
The following input strings are translated as well:
input... | prints as... |
---|---|
-- | – |
--- | — |
In addition TeX logos are translated into their proper form. Details and a complete list can be found on the help page for Logos.
Hard Line Breaks
A backslash at the end of a non-empty line produces a hard line break.
abc \ def\ ghi
abc
def
ghi
CTAN Markdown
- Paragraphs
- Style
- Sections
- Unordered Lists
- Ordered Lists
- Quotations
- Code Blocks
- Tables
- Links
- Images
- Horizontal Rules
- Inline HTML
- Logos
CTAN Markdown Tester
The result of the markdown can interactively be tested with our
Markdown Tester