overview:

Note

See Configuration to manage plugins.

Options

options:

  • theme: bundled Shikiji themes. Default: { light: "github-light", dark: "github-dark" }
  • keepBackground: true uses Shikiji theme background; false uses Quartz background. Default: false
  • clipboard: adds copy-to-clipboard button. Default: true
  • tokenClassification: adds semantic token classification CSS classes. Default: true
  • colors: override in quartz/styles/syntax.scss

API

api:

  • category: Transformer
  • function: ExternalPlugin.SyntaxHighlighting()
  • source: quartz-community/syntax-highlighting
  • install: npx quartz plugin add github:quartz-community/syntax-highlighting