Using highlight.js Using highlight.js

May 17, 2020

jigsaw

Jigsaw comes with highlightjs to show code blocks in colour, here is a CSS, HTML and Bash output for the jigsaw command

CSS


{ body: }

HTML


<a href='#'>link</a>

bash ./vendor/bin/jigsaw

Jigsaw 1.3.27

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  build  Build your site.
  help   Displays help for a command
  init   Scaffold a new Jigsaw project.
  list   Lists commands
  serve  Serve local site with php built-in server.


If you would like to contact me you can either use this form on londinium.com or via Twitter @andylondon