Digital Marketing

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

How to fix Google Apps Script: Script function not found: doGet

Creating sort index in MySQL

How to fix: df shows no file systems processed on Linux