From: Chun-Hung Tseng Date: Mon, 9 Aug 2021 06:37:46 +0000 (-0700) Subject: Add inline code blocks by using newmintinline X-Git-Tag: latest~176^2 X-Git-Url: https://www.ivnss.com/gitweb/?a=commitdiff_plain;h=fdc07d0008072fc40e4d55ed7d316f0699ca847c;p=lkmpg Add inline code blocks by using newmintinline We can now use \cpp|...| and \sh|...| to add inline code blocks, which resembles the \verb|...| syntax Signed-off-by: Chun-Hung Tseng --- diff --git a/lib/codeblock.tex b/lib/codeblock.tex index dbeb90d..692fa55 100644 --- a/lib/codeblock.tex +++ b/lib/codeblock.tex @@ -32,3 +32,6 @@ breakafter=d, linenos } + +\newmintinline[sh]{bash}{} +\newmintinline[cpp]{c}{}