From 6ebf564ee2d08104ec5e0e4eaffacc2bf9cc7291 Mon Sep 17 00:00:00 2001 From: efradtschuk Date: Mon, 10 Jan 2022 01:40:04 +0100 Subject: [PATCH] replace minted with shell command --- content/source-code-listings-minted.tex | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/content/source-code-listings-minted.tex b/content/source-code-listings-minted.tex index 4e5b0f9..2fe4548 100644 --- a/content/source-code-listings-minted.tex +++ b/content/source-code-listings-minted.tex @@ -16,10 +16,7 @@ or macOS.\footnote{\url{https://docs.python-guide.org/starting/install3/osx/}} After a successful installation, you should be able to execute the aforementioned command in a terminal, confirm by pressing Enter, and see approximately the following result: -\begin{minted}[]{bash} -$ python --version -Python 3.8.5 -\end{minted} +\shell{python $--$version \\ Python 3.8.5} \noindent If the version number is equal to the one stated here, or higher, then everything should be set up correctly. Next, enter the command \sh{pip install Pygments}\footnote{On some operating systems, you might have to use the command \sh{pip3 install Pygments}} in the same terminal window to install the Pygments package for Python.