From 7c703edfae47e31b038f161e04f12aeeabdd2f73 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 16 Oct 2023 10:13:22 -0400 Subject: Added Markdown footnotes --- app/assets/stylesheets/main/entries.scss | 4 ++++ app/helpers/application_helper.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/main/entries.scss b/app/assets/stylesheets/main/entries.scss index dd6b248..edf1706 100644 --- a/app/assets/stylesheets/main/entries.scss +++ b/app/assets/stylesheets/main/entries.scss @@ -212,6 +212,10 @@ margin: 0.25em; } } + + .footnotes { + font-size: small; + } } #blog-archive { diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 5e9f0ab..a08fab1 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -20,7 +20,7 @@ module ApplicationHelper end def markdown(text, params = {}) - options = { fenced_code_blocks: true, highlight: true } + options = { fenced_code_blocks: true, highlight: true, footnotes: true } html_options = {} if params[:restricted] -- cgit 1.4.1