Using highlight.js
May 17, 2020
jigsawJigsaw 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 with this form on londinium.com, ilminster.net or via Twitter @andylondon