Made error template customisable. Attempted to fix code highlighting for bash