PHPackages                             torchlight/torchlight-jigsaw - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. torchlight/torchlight-jigsaw

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

torchlight/torchlight-jigsaw
============================

A Torchlight client for the static site generator Jigsaw

v0.3.4(3y ago)1515.5k↑50%4[1 PRs](https://github.com/torchlight-api/torchlight-jigsaw/pulls)MITPHP

Since May 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/torchlight-api/torchlight-jigsaw)[ Packagist](https://packagist.org/packages/torchlight/torchlight-jigsaw)[ Docs](https://torchlight.dev)[ RSS](/packages/torchlight-torchlight-jigsaw/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (13)Used By (0)

Torchlight Client for Jigsaw
============================

[](#torchlight-client-for-jigsaw)

[![Tests](https://github.com/torchlight-api/torchlight-jigsaw/actions/workflows/tests.yml/badge.svg)](https://github.com/torchlight-api/torchlight-jigsaw/actions/workflows/tests.yml) [![Latest Stable Version](https://camo.githubusercontent.com/94a1b970693b65986a1d7566af68daa0de8e2bba50e7c86ed291b8d09d5c9627/68747470733a2f2f706f7365722e707567782e6f72672f746f7263686c696768742f746f7263686c696768742d6a69677361772f76)](//packagist.org/packages/torchlight/torchlight-jigsaw) [![Total Downloads](https://camo.githubusercontent.com/370de635c8e987a686391227fef7d3b133c7979be9e5a73e461cf0d3e7bb5d02/68747470733a2f2f706f7365722e707567782e6f72672f746f7263686c696768742f746f7263686c696768742d6a69677361772f646f776e6c6f616473)](//packagist.org/packages/torchlight/torchlight-jigsaw) [![License](https://camo.githubusercontent.com/dc535bb1a07f4f30e4d327fed7f3b86e99e52930eef02925367ecb919bec7f19/68747470733a2f2f706f7365722e707567782e6f72672f746f7263686c696768742f746f7263686c696768742d6a69677361772f6c6963656e7365)](//packagist.org/packages/torchlight/torchlight-jigsaw)

A [Torchlight](https://torchlight.dev) syntax highlighting extension for the static site builder [Jigsaw](https://jigsaw.tighten.co/).

Torchlight is a VS Code-compatible syntax highlighter that requires no JavaScript, supports every language, every VS Code theme, line highlighting, git diffing, and more.

> 📚 The full docs can be found at [torchlight.dev/docs/clients/jigsaw](https://torchlight.dev/docs/clients/jigsaw).

Installation
------------

[](#installation)

To install, require the package from composer:

```
composer require torchlight/torchlight-jigsaw

```

After the package is downloaded, add the following line to your `bootstrap.php`

```
Torchlight\Jigsaw\TorchlightExtension::make($container, $events)->boot();
```

This will boot the extension so that it can register its bindings, events, and commands.

Now your `bootstrap.php` might look something like this:

```
