about summary refs log tree commit diff stats
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-16 10:13:22 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-16 10:13:22 -0400
commit7c703edfae47e31b038f161e04f12aeeabdd2f73 (patch)
tree868397cef78f0dbb53f3fac2a4d666d4cbe052c1 /app/helpers/application_helper.rb
parentd7dbb6519629db02447d95237ef7e8f6aa84d10a (diff)
downloadthoughts-7c703edfae47e31b038f161e04f12aeeabdd2f73.tar.gz
thoughts-7c703edfae47e31b038f161e04f12aeeabdd2f73.tar.bz2
thoughts-7c703edfae47e31b038f161e04f12aeeabdd2f73.zip
Added Markdown footnotes
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
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]