From ac6ec0d3a636514e854947d523c128ae59361143 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 18 Nov 2026 11:47:28 +0000 Subject: cgit-about-filter: highlight the target heading --- pkgs/simple/cgit-about-filter/cgit-about-filter.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pkgs') diff --git a/pkgs/simple/cgit-about-filter/cgit-about-filter.lua b/pkgs/simple/cgit-about-filter/cgit-about-filter.lua index 5333d40..0833c38 100644 --- a/pkgs/simple/cgit-about-filter/cgit-about-filter.lua +++ b/pkgs/simple/cgit-about-filter/cgit-about-filter.lua @@ -246,6 +246,13 @@ local function heading_ids(output) end)) end +-- Highlight the heading a #fragment points to. +local target_style = [[ + +]] + -- Render ```mermaid code blocks in the browser. local mermaid_script = [[