Parcourir la source

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 <henrybear327@gmail.com>
Chun-Hung Tseng il y a 3 ans
Parent
commit
fdc07d0008
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      lib/codeblock.tex

+ 3 - 0
lib/codeblock.tex

@@ -32,3 +32,6 @@
   breakafter=d,
   linenos
 }
+
+\newmintinline[sh]{bash}{}
+\newmintinline[cpp]{c}{}