random, infrequent posts about R and programming.

mediocre economist.
aspiring data scientist.
ultimate player.

· Read in about 1 min · (34 Words)

Using highlight.jz

  1. Need to install desired syntax from https://highlightjs.org/download/
    • Extract file highlight.pack.js
  2. Replace file in themes/hyde-y/static/highlight.pack.js
  3. Then, in a code chunk, put the proper name in code chunk e.g.

    {r} print(“hey”)

    shell

less some_file.txt

Comments