Browse Source

Merge pull request #49 from henrybear327/latex/add_very_style_inline_code

Add \cpp and \sh syntax for inline code
Jim Huang 3 years ago
parent
commit
c2196c39ac
1 changed files with 3 additions and 0 deletions
  1. 3 0
      lib/codeblock.tex

+ 3 - 0
lib/codeblock.tex

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