From e8ffe46148128e99a2fb84e7d7fc22b358d39312 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 14 Jan 2025 10:20:02 -0500 Subject: Added HTML anchors to blog content headers --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers/application_helper.rb') diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 72d7ab1..cffcf5d 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -22,7 +22,7 @@ module ApplicationHelper def markdown(text, params = {}) options = { fenced_code_blocks: true, highlight: true, footnotes: true } - html_options = {} + html_options = { with_toc_data: true } if params[:restricted] html_options[:filter_html] = true end -- cgit 1.4.1