Add tests #2

Merged
tforgione merged 6 commits from williamdes/md2pdf:improvements into master 2022-10-03 16:51:30 +01:00
1 changed files with 11 additions and 1 deletions
Showing only changes of commit 958fd07bed - Show all commits

View File

@ -142,6 +142,12 @@ Text
[link](https://example.com)
**Bold**
__Italic__
some code:
```sh
sudo make-it-work
```
issue [#12345](https://example.com)
"#;
const LATEXT_OUT: &str = r#"\documentclass{scrartcl}
\usepackage{graphicx}
@ -185,7 +191,11 @@ Some content\subsection{Second level}
Text
\href{https://example.com}{link}
\textbf{Bold}
\textbf{Italic}
\textbf{Italic}some code:\begin{lstlisting}[language=sh]
sudo make-it-work
\end{lstlisting}
issue \href{https://example.com}{#12345}
\end{document}
"#;