tempest/highlight

Fast, extensible, server-side code highlighting

Fund package maintenance!
brendt

Installs: 91 112

Dependents: 15

Suggesters: 0

Security: 0

Stars: 634

Watchers: 7

Forks: 38

Open Issues: 9

2.10.6 2024-10-24 06:44 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.