Catalog npm
Back to packageRELEASE DETAILS

0.1.0-beta.0

npm

11ty-plugin-giallo

Eleventy plugin to support TextMate-style syntax highlighting via the Giallo Rust crate.

eleventyeleventy-plugin
Published23 Jan 2026
Direct dependencies3
Transitive dependenciesNot calculated

README

Current package documentation

11ty-plugin-giallo

Eleventy plugin to support TextMate-style syntax highlighting via the Giallo Rust crate.

Usage

// eleventy.config.js

import syntaxHighlight from "11ty-plugin-giallo";

export default function (eleventyConfig) {
  eleventyConfig.addPlugin(syntaxHighlight, {
    themeLight: "github-light",
    themeDark: "github-dark",
  });
}

Themes

Themes included with Giallo

Block Diagram

block diagram of plugin architecture

Development Quickstart

Mise-en-place manages dev dependencies and scripts.

# Installs dev tools (Rust, Node) and automatically downloads WASI-SDK for the
# host architecture.
mise install

# Installs Node dependencies.
npm install

# Compiles Rust code into a Wasm component and generates Javascript bindings.
mise run build

# Runs unit tests.
mise run test

Limitations

  • Support is currently limited to markdown code blocks. The official Eleventy syntax highlighting plugin also provides Liquid and Nunjucks tags as well as a global Javascript function.
  • Line highlights and numbers are not yet supported.
  • Giallo does not support Prism-style diff format.

Licensing

11ty-plugin-giallo is distributed under the European Union Public License v. 1.2, to match the licensing of the Giallo crate. The EUPL is generally compatible with other OSI-approved copyleft licenses; for more information refer to the compatibility matrix.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@bytecodealliance/preview2-shim
Environment
{
  "local_name": "@bytecodealliance/preview2-shim",
  "alias": false,
  "peer_metadata": null
}
^0.17.6runtime
jest
Environment
{
  "local_name": "jest",
  "alias": false,
  "peer_metadata": null
}
^30.2.0development
@bytecodealliance/jco
Environment
{
  "local_name": "@bytecodealliance/jco",
  "alias": false,
  "peer_metadata": null
}
^1.15.4development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "a87ce8125fde95e3b76e2211d0e04914546d5aaf",
  "tarball": "https://registry.npmjs.org/11ty-plugin-giallo/-/11ty-plugin-giallo-0.1.0-beta.0.tgz",
  "fileCount": 25,
  "integrity": "sha512-a4esveqrrSvDVx74DX64vin11UGyRQ+kJQ+l3sM7gIWUvrswggBucusUqVgAgobOVZ1DWp6TGBCj4a0bGZOBRw==",
  "signatures": [
    {
      "sig": "MEUCIQD3nScs3cs1tDf4lZcD9WZAhhWIkKQKglEhBHC3wkscsQIgGEjXRnpGFiQF3tb4yS8jsVGnnqw9cVlHQd8U7U3urXU=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "unpackedSize": 3470487
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:06 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:3015d7d79d4d0965d71c214f7b34c7c84bcff90e66720ce3272f30c37b558ea2

Other collected versions

0.1.026 Jan0.1.0-beta.226 Jan0.1.0-beta.126 Jan0.1.0-alpha.223 Jan0.1.0-alpha.123 Jan0.1.0-alpha.023 JanView all collected versions →