diff options
author | Karl Berry <karl@freefriends.org> | 2024-04-30 20:02:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-04-30 20:02:14 +0000 |
commit | ca30fcf4913c32febbfb97abd72219b3e69501e4 (patch) | |
tree | 9ddee84f9374f5462ee9b54a3713d062db6885e8 /Master/texmf-dist/doc/latex | |
parent | b3669c79c87b055df515bf320be2a78fb0baf956 (diff) |
markdown (30apr24)
git-svn-id: svn://tug.org/texlive/trunk@71137 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
4 files changed, 78 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/latex/markdown/examples/latex-luatex.tex b/Master/texmf-dist/doc/latex/markdown/examples/latex-luatex.tex index 5aa7c85d7d6..51be09c1f68 100644 --- a/Master/texmf-dist/doc/latex/markdown/examples/latex-luatex.tex +++ b/Master/texmf-dist/doc/latex/markdown/examples/latex-luatex.tex @@ -49,8 +49,33 @@ date: \today \catcode`\%=14\relax \catcode`\#=6\relax -% Typeset some further examples with inline markdown text. +% Besides inputting external files, Markdown text can we written directly +% into a LaTeX document. Markdown text and LaTeX code can be freely combined. \begin{markdown} -Here are some non-ASCII characters: *ěščřžýáíé*. +This is a paragraph of *Markdown text* with inline `\LaTeX`{=tex} code. + +``` {=tex} +This is a paragraph of \LaTeX{} code with inline \markinline{*Markdown text*}. +``` +\end{markdown} + +% Besides YAML, LaTeX, and Markdown, you can also type HTML in your documents. +\begin{markdown} +Here is some <b>HTML code</b> mixed *with Markdown*. In `\TeX`{=tex}, the HTML +code will be silently ignored, whereas in `\TeX`{=tex}4ht, the HTML code will +be passed through to the output: + +<table border="1"> + <tr> + <td>Emil</td> + <td>Tobias</td> + <td>Linus</td> + </tr> + <tr> + <td>16</td> + <td>14</td> + <td>10</td> + </tr> +</table> \end{markdown} \end{document} diff --git a/Master/texmf-dist/doc/latex/markdown/examples/latex-pdftex.tex b/Master/texmf-dist/doc/latex/markdown/examples/latex-pdftex.tex index 7d188d75f25..34f78707c36 100644 --- a/Master/texmf-dist/doc/latex/markdown/examples/latex-pdftex.tex +++ b/Master/texmf-dist/doc/latex/markdown/examples/latex-pdftex.tex @@ -50,15 +50,21 @@ date: \today \catcode`\%=14\relax \catcode`\#=6\relax -% Typeset some further examples with inline markdown text. +% Besides inputting external files, Markdown text can we written directly +% into a LaTeX document. Markdown text and LaTeX code can be freely combined. \begin{markdown} -Here are some non-ASCII characters: *ěščřžýáíé*. +This is a paragraph of *Markdown text* with inline `\LaTeX`{=tex} code. + +``` {=tex} +This is a paragraph of \LaTeX{} code with inline \markinline{*Markdown text*}. +``` \end{markdown} -\begin{markdown}[hybrid] -Here is some <b>HTML code</b> mixed *with Markdown*. In \TeX, the HTML code -will be silently ignored, whereas in \TeX 4ht, the HTML code will be passed -through to the output: +% Besides YAML, LaTeX, and Markdown, you can also type HTML in your documents. +\begin{markdown} +Here is some <b>HTML code</b> mixed *with Markdown*. In `\TeX`{=tex}, the HTML +code will be silently ignored, whereas in `\TeX`{=tex}4ht, the HTML code will +be passed through to the output: <table border="1"> <tr> diff --git a/Master/texmf-dist/doc/latex/markdown/examples/latex-tex4ht.tex b/Master/texmf-dist/doc/latex/markdown/examples/latex-tex4ht.tex index 7d188d75f25..34f78707c36 100644 --- a/Master/texmf-dist/doc/latex/markdown/examples/latex-tex4ht.tex +++ b/Master/texmf-dist/doc/latex/markdown/examples/latex-tex4ht.tex @@ -50,15 +50,21 @@ date: \today \catcode`\%=14\relax \catcode`\#=6\relax -% Typeset some further examples with inline markdown text. +% Besides inputting external files, Markdown text can we written directly +% into a LaTeX document. Markdown text and LaTeX code can be freely combined. \begin{markdown} -Here are some non-ASCII characters: *ěščřžýáíé*. +This is a paragraph of *Markdown text* with inline `\LaTeX`{=tex} code. + +``` {=tex} +This is a paragraph of \LaTeX{} code with inline \markinline{*Markdown text*}. +``` \end{markdown} -\begin{markdown}[hybrid] -Here is some <b>HTML code</b> mixed *with Markdown*. In \TeX, the HTML code -will be silently ignored, whereas in \TeX 4ht, the HTML code will be passed -through to the output: +% Besides YAML, LaTeX, and Markdown, you can also type HTML in your documents. +\begin{markdown} +Here is some <b>HTML code</b> mixed *with Markdown*. In `\TeX`{=tex}, the HTML +code will be silently ignored, whereas in `\TeX`{=tex}4ht, the HTML code will +be passed through to the output: <table border="1"> <tr> diff --git a/Master/texmf-dist/doc/latex/markdown/examples/latex-xetex.tex b/Master/texmf-dist/doc/latex/markdown/examples/latex-xetex.tex index 5aa7c85d7d6..51be09c1f68 100644 --- a/Master/texmf-dist/doc/latex/markdown/examples/latex-xetex.tex +++ b/Master/texmf-dist/doc/latex/markdown/examples/latex-xetex.tex @@ -49,8 +49,33 @@ date: \today \catcode`\%=14\relax \catcode`\#=6\relax -% Typeset some further examples with inline markdown text. +% Besides inputting external files, Markdown text can we written directly +% into a LaTeX document. Markdown text and LaTeX code can be freely combined. \begin{markdown} -Here are some non-ASCII characters: *ěščřžýáíé*. +This is a paragraph of *Markdown text* with inline `\LaTeX`{=tex} code. + +``` {=tex} +This is a paragraph of \LaTeX{} code with inline \markinline{*Markdown text*}. +``` +\end{markdown} + +% Besides YAML, LaTeX, and Markdown, you can also type HTML in your documents. +\begin{markdown} +Here is some <b>HTML code</b> mixed *with Markdown*. In `\TeX`{=tex}, the HTML +code will be silently ignored, whereas in `\TeX`{=tex}4ht, the HTML code will +be passed through to the output: + +<table border="1"> + <tr> + <td>Emil</td> + <td>Tobias</td> + <td>Linus</td> + </tr> + <tr> + <td>16</td> + <td>14</td> + <td>10</td> + </tr> +</table> \end{markdown} \end{document} |