Styling Code Blocks

Last updated on 2024-05-09 15:29:59

This plugin uses highlight.js to allow Github-style syntax highlighting for code blocks in your Help Scout Docs.

By default, the Github Dark Dimmed style is used, which looks like this:

// Example code.

If you wish to use a different syntax highlighting style, the stylesheet can be changed by downloading a different stylesheet and rewriting the stylesheet source by using the wp_help_scout_docs_code_block_style filter in a custom plugin.

Shopping Cart
  • Your cart is empty.