Skip to content

Commit

Permalink
Disable footnote backlinks in Markdown
Browse files Browse the repository at this point in the history
These backlinks don't work reliably and are thus more harmful than useful.
  • Loading branch information
MrSerth committed Aug 1, 2024
1 parent 62ed5e3 commit 265880e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def render_markdown(markdown)
markdown,
input: 'GFM',
hard_wrap: false,
smart_quotes: 'apos,apos,quot,quot'
smart_quotes: 'apos,apos,quot,quot',
footnote_backlink: nil
).to_html.strip
end

Expand Down

0 comments on commit 265880e

Please sign in to comment.