Skip to main content

2 posts by Jonathan Lau

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