How to highlight bash/shell code in markdown

For github flavoured markdown for example, shell should work fine. Aliases are sh, bash or zsh. You can find the list of available syntax lexers here.
Or using the knitr package: ```{r, engine='bash'} ... i.e.

```{r, engine='bash'}
$ id -nG i88ca
The result is:
$ id -nG i88ca


Popular posts from this blog

Check MySQL query history from command line

Installing chocolatey on Windows