Jelajahi Sumber

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 3 tahun lalu
induk
melakukan
fdc07d0008
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      lib/codeblock.tex

+ 3 - 0
lib/codeblock.tex

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