hydephp/torchlight-commonmark
Adds Torchlight syntax highlighting to the CommonMark PHP parser. It swaps the default code block renderer so fenced code blocks are sent to Torchlight's API and rendered with highlighting, line numbers, diffs, and other features.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/shiki-php | 0.88 | Bring Shiki's beautiful syntax highlighting to PHP. A simple static call highlights code using the same language engine as popular code editors, with 100+ languages and themes plus bundled Antlers and Blade support. | 315 | 317 | 34 | 6M | 0 | 19.6 | 59.9 | MIT | 6 months ago | |
| torchlight/laravel | 0.88 | torchlight/laravel integrates Torchlight syntax highlighting with Laravel, adding a Blade component and CommonMark extension so you can render beautiful, cached code blocks in views and Markdown content with minimal setup. | 120 | 120 | 17 | 0 | 18 | 13.9 | 6.8 | MIT | 7 months ago | |
| ows/commonmark-sup-sub-extensions | 0.87 | Add superscript and subscript support to your CommonMark markdown with this lightweight PHP extension. It registers ^text^ and text style syntax so you can render scientific notation, footnotes, and chemical formulas cleanly in Laravel or any CommonMark-powered app. | 10 | — | 6 | — | 3 | 20.9 | 0.5 | GPL-3.0 | 1 week ago |
|
| scrivo/highlight.php | 0.87 | Server-side syntax highlighting for PHP using highlight.js grammars. Highlight code blocks in many languages, auto-detect when needed, and render HTML with themes—ideal for docs, blogs, and static site generation without requiring a browser. | 712 | 727 | 43 | 2M | 13 | 17.7 | 52.7 | BSD-3-Clause | 3 years ago | |
| flarum/markdown | 0.87 | Adds Markdown formatting to Flarum posts, letting users write bold, italic, links, lists, quotes, and code with familiar syntax. Integrates with the composer to render clean, consistent formatted content across discussions. | 17 | 17 | 15 | 20K | 0 | 19.7 | 49.2 | MIT | 3 weeks ago | |
| nicodmf/highlight-bundle | 0.87 | Symfony bundle that integrates highlight.php to add syntax highlighting for code snippets. It provides Twig helpers and configurable themes, making it easy to render readable, colorized source code in templates with minimal setup. | 21 | 22 | 5 | 0 | 3 | 1.0 | 0.4 | — | — | |
| torchlight/torchlight-commonmark | 0.87 | Laravel extension for league/commonmark that highlights Markdown code fences with Torchlight. Works with CommonMark v1 and v2, integrates with GrahamCampbell/Laravel-Markdown or manual environments, and uses the Torchlight Laravel client for fast, JS-free highlighting. | 28 | 29 | 46 | 7K | 0 | 6.3 | 33.7 | MIT | 1 year ago | |
| yivoff/commonmark-bundle | 0.86 | A Symfony bundle that wraps the league/commonmark Markdown parser, providing a configurable CommonMark converter service and Twig filter for rendering Markdown in templates. It simplifies setup for projects that need consistent Markdown-to-HTML conversion. | 2 | 2 | 0 | 17 | 0 | 0.0 | 11.4 | MIT | 5 years ago | |
| torchlight/engine | 0.86 | Torchlight Engine is a standalone PHP syntax highlighting engine built on TextMate grammars and VS Code themes. It renders accurate, themeable code blocks without Node.js or client-side JavaScript, and powers Torchlight's Laravel package while working in any PHP project. | 67 | 66 | 1 | 2K | 2 | 8.3 | 23.5 | MIT | 7 months ago | |
| components/highlightjs | 0.86 | A Laravel Blade component for integrating Highlight.js syntax highlighting into your views. Render highlighted code blocks with configurable languages and themes while keeping your markup clean and setup simple. | 102 | — | 29 | — | 0 | 1.4 | — | NOASSERTION | — |
|
| alten/syntax-highlight-bundle | 0.86 | — | 2 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| spatie/laravel-markdown-blade-component | 0.86 | Spatie's Laravel Markdown Blade Component lets you render Markdown directly in Blade views using a simple component. Built on CommonMark, it supports GitHub-flavored Markdown, caching, and safe HTML output, making it ideal for blogs, docs, and user-generated content. | 415 | — | 31 | — | 0 | 9.6 | — | MIT | 8 months ago | |
| spatie/commonmark-shiki-highlighter | 0.85 | League/CommonMark code block renderer that highlights fenced code using Shiki PHP. Includes extra Antlers and Blade grammars in addition to Shiki’s 100+ languages. Ideal for Laravel setups (see spatie/laravel-markdown). Requires JS shiki v1. | 92 | 92 | 15 | 375K | 0 | 5.9 | 50.3 | MIT | 11 months ago | |
| carteni/highlight-bundle | 0.85 | — | 0 | 1 | 0 | 0 | 0 | 0.3 | — | MIT | 9 years ago | |
| spatie/commonmark-highlighter | 0.85 | Server-side syntax highlighting for league/commonmark code blocks using scrivo/highlight.php. Generates HTML compatible with highlight.js themes, reducing JavaScript and avoiding flashes of unstyled code. Supports 185+ languages for fast, clean markdown rendering. | 139 | 139 | 10 | 19K | 0 | 2.0 | 20.7 | MIT | 5 years ago | |
| pk/markdownify-bundle | 0.85 | Symfony bundle that wires Markdownify into your app, converting Markdown to HTML through a ready-to-use service and Twig filter. Configure the converter once and render Markdown content cleanly in templates. | 3 | 3 | 0 | 0 | 0 | 0.0 | — | MIT | 7 years ago | |
| torchlight/torchlight-laravel | 0.85 | Torchlight syntax highlighting for Laravel. Highlight code blocks with VS Code-compatible themes and zero JavaScript. Includes caching, configurable themes and host, and Blade components/directives. Requires a Torchlight API token (free for personal/open source). | 120 | 120 | 17 | 23K | 18 | 27.9 | 41.2 | MIT | 7 months ago | |
| easybook/geshi | 0.85 | GeSHi is a PHP syntax highlighter that converts source code into HTML with language-aware formatting. This EasyBook-maintained fork supports numerous languages and is useful for rendering code in documentation, blogs, and PHP applications. | 22 | 26 | 12 | 8K | 0 | 0.5 | 35.4 | — | 8 years ago | |
| vstelmakh/url-highlight-symfony-bundle | 0.85 | Symfony bundle integrating the vstelmakh/url-highlight library, turning plain URLs in text into clickable HTML links through a configurable service and Twig filter, with options for link attributes, ignored tags and URL shortening. | 2 | 2 | 0 | 46 | 0 | 0.0 | 16.8 | MIT | 6 years ago | |
| league/commonmark-extras | 0.85 | league/commonmark-extras provides additional CommonMark extensions for PHP's league/commonmark parser, adding features like autolinks, smart punctuation, strikethrough, tables, and task lists so you can render richer Markdown with minimal setup. | 28 | 30 | 4 | 204 | 0 | 0.1 | 8.8 | BSD-3-Clause | 6 years ago |
How can I help you explore Laravel packages today?