about summary refs log tree commit diff stats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/main/entries.scss4
-rw-r--r--app/helpers/application_helper.rb2
2 files changed, 5 insertions, 1 deletions
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 @@
212 margin: 0.25em; 212 margin: 0.25em;
213 } 213 }
214 } 214 }
215
216 .footnotes {
217 font-size: small;
218 }
215} 219}
216 220
217#blog-archive { 221#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
20 end 20 end
21 21
22 def markdown(text, params = {}) 22 def markdown(text, params = {})
23 options = { fenced_code_blocks: true, highlight: true } 23 options = { fenced_code_blocks: true, highlight: true, footnotes: true }
24 24
25 html_options = {} 25 html_options = {}
26 if params[:restricted] 26 if params[:restricted]