Skip to main content

2 posts by Jonathan Lau

2024

CAUTION

The posts below were published before the release of Eleventy v3.0.0 (Oct 1, 2024). Information in these posts may be out of date. The current stable release is 3.12.

Displaying Line Numbers in 11ty Code Blocks

Add line numbers to 11ty code blocks with Prism and Markdown-it, bypassing the plugin's DOM-dependency by adjusting the renderer during the build process.

Jun 10, 2024

Categories: How to...MarkdownPlugins

Create an Interactive TOC from Markdown-Generated Content

Create an interactive TOC for Markdown in Static Site Generators using the Intersection Observer API.

Mar 24, 2024

Categories: CSS/SassHow to...MarkdownPlugins

Get the blog by email (or RSS)

Powered by Buttondown