Additional markdown reader tests

foo and bar

Raw ConTeXt environments

\placeformula \startformula

L_{1} = L_{2} \stopformula

\start[a2]
\start[a2]
\stop[a2]
\stop[a2]

Raw LaTeX environments

\begin{center}
\begin{tikzpicture}[baseline={([yshift=+-.5ex]current bounding box.center)}, level distance=24pt]
\Tree [.{S} [.NP John\index{i} ] [.VP [.V likes ] [.NP himself\index{i,*j} ]]]
\end{tikzpicture}
\end{center}

URLs with spaces and punctuation

foo foo foo foo

baz bam bork

Ward’s method.

Horizontal rules with spaces at end



Raw HTML before header

my header

$ in math

$2+$3\$2 + \$3

x=the nth root of yx = \text{the $n$th root of $y$}

This should not be math:

$PATH 90 $PATH

Commented-out list item

Indented code at beginning of list

Backslash newline

hi
there

Code spans

hi\

hi there

hi````there

`hi

there`

Multilingual URLs

http://测.com?测=测

foo

测@foo.测.baz

Numbered examples

  1. First example.
  2. Second example.

Explanation of examples (2) and (3).

  1. Third example.

Macros

\newcommand{\tuple}[1]{\langle #1 \rangle}

x,y\langle x,y \rangle

Case-insensitive references

Fum

FUM

bat

Curly smart quotes

“Hi”

‘Hi’

Consecutive lists

  1. one
  2. two
  1. one
  2. two

Implicit header references

My header

My other header

A link to My header.

Another link to it.

Should be case insensitive.

Link to Explicit header attributes.

But this is not a link to My other header, since the reference is defined.

Explicit header attributes

Header attributes inside block quote

Line blocks

But can a bee be said to be
    or not to be an entire bee,
        when half the bee is not a bee,
            due to some ancient injury?

Continuation line
  and another

Grid Tables

col 1col 2col 3
r1 a r1 bisb b 2c c 2
r2 def

Headless

r1 a r1 bisb b 2c c 2
r2 def

With alignments

col 1col 2col 3
r1 a r1 bisb b 2c c 2
r2 def

Headless with alignments

r1 a r1 bisb b 2c c 2
r2 def

Spaces at ends of lines

r1 a r1 bisb b 2c c 2
r2 def

Multiple blocks in a cell

col 1

col 1

col 2

col 2

col 3

col 3

r1 a

r1 bis

  • b
  • b 2
  • b 2
c c 2 c 2

East Asian characters have double width

fish

Zero-width space in German

GermanEnglish
Auf‌lageedition

Zero-width non-joiner in Persian

می‌خواهمI want to

Empty cells

Table with cells spanning multiple rows or columns:

PropertyEarth
Temperature 1961-1990min-89.2 °C
mean14 °C
min56.7 °C

Table with complex header:

LocationTemperature 1961-1990 in degree Celsius
minmeanmax
Antarctica-89.2N/A19.8
Earth-89.21456.7

link

http://göögle.com

me@exämple.com

foobar

Parentheses in URLs

link

link

linky

*\a

[not a link] [nope]…

MapReduce is a paradigm popularized by Google [@mapreduce] as its most vocal proponent.

bar

foo2

Wrapping shouldn’t introduce new list items

Bracketed spans

foo bar baz link