More stuff

This commit is contained in:
Florian Hoss 2022-09-27 12:11:39 +02:00
parent 08bfa2f3d9
commit 5d5dbf6c73
2 changed files with 59 additions and 33 deletions

View file

@ -49,10 +49,13 @@ Vielleicht reicht auch Google\wwwlink{google.de}...
\section{Lstlisting}
\begin{lstlisting}[language=Bash]
#!/bin/bash
echo "Hello World"
\begin{lstlisting} [caption=Zugriff auf Klassen über eine Nachschlagetabelle, label=code:lookup-table]
const bgColor = {
blue: "bg-blue-600",
red: "bg-red-600",
green: "bg-green-600",
};
bgColor[props.color]
\end{lstlisting}
\section{Verbatim}