Eleventy Plugin Syntaxhighlight

screenshot of Eleventy Plugin Syntaxhighlight
eleventy

Eleventy Plugin Syntaxhighlight

A pack of Eleventy plugins for syntax highlighting in Markdown, Liquid, and Nunjucks templates.

Overview

eleventy-plugin-syntaxhighlight is a collection of Eleventy plugins designed to provide syntax highlighting functionality. Unlike many syntax highlighting plugins, eleventy-plugin-syntaxhighlight does not rely on browser or client-side JavaScript. Instead, all syntax highlighting transformations are performed at build-time. This allows for more efficient and lightweight rendering.

Features

  • Build-time syntax highlighting: All syntax highlighting transformations are performed during the build process, reducing reliance on client-side JavaScript.
  • Easy integration with Eleventy: eleventy-plugin-syntaxhighlight is specifically designed to work seamlessly with the Eleventy static site generator.
  • Wide range of languages supported: The plugin supports syntax highlighting for a variety of programming languages, making it versatile for different use cases.
eleventy
Eleventy

11ty is a static site generator that allows developers to build fast, modern websites using HTML, Markdown, and other templating languages, without the need for a complex build system.

prismjs
Prism JS

PrismJS is an open-source, lightweight, and extensible syntax highlighting library that supports a wide range of programming languages and markup formats.