Skip to content

Commit fdc07d0

Browse files
committed
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 <[email protected]>
1 parent 8c86e5d commit fdc07d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/codeblock.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@
3232
breakafter=d,
3333
linenos
3434
}
35+
36+
\newmintinline[sh]{bash}{}
37+
\newmintinline[cpp]{c}{}

0 commit comments

Comments
 (0)