Add source code rendering
This commit is contained in:
@ -1,3 +1,14 @@
|
||||
\chapter{Ipsum}
|
||||
|
||||
...
|
||||
\begin{listing}[!ht]
|
||||
\caption{Code example}
|
||||
\label{lst:example}
|
||||
\begin{minted}{c}
|
||||
#include<stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Hello World\n");
|
||||
return 0;
|
||||
}
|
||||
\end{minted}
|
||||
\end{listing}
|
||||
|
Reference in New Issue
Block a user