Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
fdc07d0008
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      lib/codeblock.tex

+ 3 - 0
lib/codeblock.tex

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