Metalsmith plugin for syntax highlighting code with HTML
JavaScript

README.md

metalsmith-code-highlight

Finds content with <code> elements and highlights it using HighlightJS.

Configuration

Supports the Highlight.js options:

  • tabReplace
  • useBR
  • classPrefix
  • languages

Alternatives