Actions
Feature #20405
closedEnable footnotes support in Markdown formatter.
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
Updated by Go MAEDA over 9 years ago
- Status changed from New to Closed
It is interesting but duplicate of #16072.
Updated by Go MAEDA over 9 years ago
- Is duplicate of Feature #16072: Markdown footnote support added
Updated by Mischa The Evil over 9 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