diff options
Diffstat (limited to 'test/writer.markdown')
-rw-r--r-- | test/writer.markdown | 52 |
1 files changed, 47 insertions, 5 deletions
diff --git a/test/writer.markdown b/test/writer.markdown index 6aab1e597..7393ee18e 100644 --- a/test/writer.markdown +++ b/test/writer.markdown @@ -399,18 +399,35 @@ bar Interpreted markdown in a table: +```{=html} <table> +``` +```{=html} <tr> +``` +```{=html} <td> +``` This is *emphasized* +```{=html} </td> +``` +```{=html} <td> +``` And this is **strong** +```{=html} </td> +``` +```{=html} </tr> +``` +```{=html} </table> +``` +```{=html} <script type="text/javascript">document.write('This *should not* be interpreted as markdown');</script> - +``` Here's a simple block: <div> @@ -447,41 +464,64 @@ foo This should just be an HTML comment: +```{=html} <!-- Comment --> - +``` Multiline: +```{=html} <!-- Blah Blah --> +``` +```{=html} <!-- This is another comment. --> - +``` Code block: <!-- Comment --> Just plain comment, with trailing spaces on the line: +```{=html} <!-- foo --> - +``` Code: <hr /> Hr's: +```{=html} <hr> +``` +```{=html} <hr /> +``` +```{=html} <hr /> +``` +```{=html} <hr> +``` +```{=html} <hr /> +``` +```{=html} <hr /> +``` +```{=html} <hr class="foo" id="bar" /> +``` +```{=html} <hr class="foo" id="bar" /> +``` +```{=html} <hr class="foo" id="bar"> +``` ------------------------------------------------------------------------------ @@ -540,7 +580,7 @@ Ellipses...and...and.... LaTeX ===== -- \cite[22-23]{smith.1899} +- `\cite[22-23]{smith.1899}`{=tex} - $2+2=4$ - $x \in y$ - $\alpha \wedge \omega$ @@ -560,11 +600,13 @@ These shouldn't be math: Here's a LaTeX table: +```{=tex} \begin{tabular}{|l|l|}\hline Animal & Number \\ \hline Dog & 2 \\ Cat & 1 \\ \hline \end{tabular} +``` ------------------------------------------------------------------------------ |