Project

General

Profile

Actions

Feature #20405

closed

Enable footnotes support in Markdown formatter.

Added by Mischa The Evil almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate

Description

Footnotes support is not enabled for the Markdown formatter at the moment. I think it would be good if support for them is enabled. This can be done quite easily:

diff --git a/lib/redmine/wiki_formatting/markdown/formatter.rb b/lib/redmine/wiki_formatting/markdown/formatter.rb
index 17d94a1..fdf17fe 100644
--- a/lib/redmine/wiki_formatting/markdown/formatter.rb
+++ b/lib/redmine/wiki_formatting/markdown/formatter.rb
@@ -128,7 +128,8 @@ module Redmine
             :tables => true,
             :strikethrough => true,
             :superscript => true,
-            :no_intra_emphasis => true
+            :no_intra_emphasis => true,
+            :footnotes => true
           )
         end
       end

I did a quick test with footnotes support enabled and it seems to work properly OOTB. The feature with its syntax is described at the end of https://github.com/vmg/redcarpet#and-its-like-really-simple-to-use.


Related issues

Is duplicate of Redmine - Feature #16072: Markdown footnote supportClosedJean-Philippe Lang

Actions
Actions #1

Updated by Go MAEDA almost 9 years ago

  • Status changed from New to Closed

It is interesting but duplicate of #16072.

Actions #2

Updated by Go MAEDA almost 9 years ago

Actions #3

Updated by Go MAEDA almost 9 years ago

  • Resolution set to Duplicate
Actions #4

Updated by Mischa The Evil over 8 years ago

Go MAEDA wrote:

It is interesting but duplicate of #16072.

Thanks for catching this and transferring my textual patch. I missed that one completely.
Good to see some more eyes keeping a close sight at the issues pool :thumbsup: ;)

Actions

Also available in: Atom PDF