custura/highlight

Fast, extensible, server-side code highlighting

Maintainers

Details

github.com/custura/highlight

Source

Fund package maintenance!
brendt

dev-main 2024-12-15 13:07 UTC

This package is auto-updated.

Last update: 2025-02-15 13:31:50 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.