Add tests #2
12
src/lib.rs
12
src/lib.rs
|
@ -142,6 +142,12 @@ Text
|
||||||
[link](https://example.com)
|
[link](https://example.com)
|
||||||
**Bold**
|
**Bold**
|
||||||
__Italic__
|
__Italic__
|
||||||
|
|
||||||
|
some code:
|
||||||
|
```sh
|
||||||
|
sudo make-it-work
|
||||||
|
```
|
||||||
|
issue [#12345](https://example.com)
|
||||||
"#;
|
"#;
|
||||||
const LATEXT_OUT: &str = r#"\documentclass{scrartcl}
|
const LATEXT_OUT: &str = r#"\documentclass{scrartcl}
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
|
@ -185,7 +191,11 @@ Some content\subsection{Second level}
|
||||||
Text
|
Text
|
||||||
\href{https://example.com}{link}
|
\href{https://example.com}{link}
|
||||||
\textbf{Bold}
|
\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}
|
\end{document}
|
||||||
"#;
|
"#;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue