From 958fd07bed05addae494b4cee72992a6a9ce1a90 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Mon, 3 Oct 2022 17:03:15 +0200 Subject: [PATCH] Add more cases to the input code to test --- src/lib.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 9f051e1..496ccd8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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} "#;