PHPackages                             torchlight/torchlight-ibis - 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-ibis

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

torchlight/torchlight-ibis
==========================

A Torchlight client for the PDF book builder Ibis

v0.1.0(4y ago)2371[1 issues](https://github.com/torchlight-api/torchlight-ibis/issues)MITPHP

Since Aug 5Pushed 4y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Torchlight Client for Ibis
==========================

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

[![Latest Stable Version](https://camo.githubusercontent.com/62e69946af71c866bdf35fa4c2d74a9f59f193f842c3095cc0ddbc978dbf05ab/68747470733a2f2f706f7365722e707567782e6f72672f746f7263686c696768742f746f7263686c696768742d696269732f76)](//packagist.org/packages/torchlight/torchlight-ibis) [![Total Downloads](https://camo.githubusercontent.com/4fd88fd9df4b04e911874b374c92f7b4312825c925753a5a06b996ee5a071414/68747470733a2f2f706f7365722e707567782e6f72672f746f7263686c696768742f746f7263686c696768742d696269732f646f776e6c6f616473)](//packagist.org/packages/torchlight/torchlight-ibis) [![License](https://camo.githubusercontent.com/8e4ff83d66e851583280f8f2c8850c39bcba4d6c51e29673a39ba07f45c6e1a0/68747470733a2f2f706f7365722e707567782e6f72672f746f7263686c696768742f746f7263686c696768742d696269732f6c6963656e7365)](//packagist.org/packages/torchlight/torchlight-ibis)

A [Torchlight](https://torchlight.dev) syntax highlighting extension for the ebook builder [Ibis](https://github.com/themsaid/ibis).

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.

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

[](#installation)

To install, require the package from composer:

```
composer require torchlight/torchlight-ibis

```

If you haven't already, Composer will ask you to create a `composer.json` file in the root of your book directory.

In your `ibis.php` file, add the following to your configuration:

```
return [
    /**
     * The book title.
     */
    'title' => 'Laravel Queues in Action',

    // .....

    'configure_commonmark' => function ($environment) {
        \Torchlight\Ibis\TorchlightExtension::make()->register($environment);
    },
];
```

At the top of your `ibis.php` file, you'll also need to add the composer autoloader if it's not already there:

```
