tempest/highlight

Fast, extensible, server-side code highlighting

Fund package maintenance!
brendt

Installs: 134 795

Dependents: 15

Suggesters: 0

Security: 0

Stars: 649

Watchers: 7

Forks: 38

Open Issues: 12

2.11.2 2024-11-14 09:11 UTC

README

Coverage Status

Quickstart

composer require tempest/highlight

Highlight code like this:

$highlighter = new \Tempest\Highlight\Highlighter();

$code = $highlighter->parse($code, 'php');

Continue reading in the docs: https://tempestphp.com/docs/highlight/01-getting-started.