tempest/highlight

Fast, extensible, server-side code highlighting

Fund package maintenance!
brendt

Installs: 107 035

Dependents: 16

Suggesters: 0

Security: 0

Stars: 643

Watchers: 7

Forks: 39

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.