mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Add footnotes extension to showdown
refs 1318 - based on Markdown Extra https://michelf.ca/projects/php-markdown/extra/ - allows [^n] for automatic numbering based on sequence
This commit is contained in:
parent
9aa011037b
commit
e8e08736b6
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import cajaSanitizers from 'ghost/utils/caja-sanitizers';
|
||||||
var showdown,
|
var showdown,
|
||||||
formatMarkdown;
|
formatMarkdown;
|
||||||
|
|
||||||
showdown = new Showdown.converter({extensions: ['ghostimagepreview', 'ghostgfm']});
|
showdown = new Showdown.converter({extensions: ['ghostimagepreview', 'ghostgfm', 'footnotes']});
|
||||||
|
|
||||||
formatMarkdown = Ember.Handlebars.makeBoundHelper(function (markdown) {
|
formatMarkdown = Ember.Handlebars.makeBoundHelper(function (markdown) {
|
||||||
var escapedhtml = '';
|
var escapedhtml = '';
|
||||||
|
|
Loading…
Add table
Reference in a new issue