From f82488f1f9040622bd7d70df55e4c9e8ea804666 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 3 May 2026 12:47:11 +0530 Subject: [PATCH] style(anchored_headings): refactor for better readability --- layouts/_partials/anchored_headings.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/_partials/anchored_headings.html b/layouts/_partials/anchored_headings.html index 377af89d..a4b0c634 100644 --- a/layouts/_partials/anchored_headings.html +++ b/layouts/_partials/anchored_headings.html @@ -1,2 +1,6 @@ {{- /* formats .Content headings by adding an anchor */ -}} -{{ . | replaceRE "()" "${1}${3}" | safeHTML }} +{{ . | replaceRE + "()" + "${1}${3}" + | safeHTML +}}