Merge pull request #4575 from ErisDS/highlight

Adds markdown highlight support
This commit is contained in:
Sebastian Gierlinger 2014-12-04 15:00:01 +01:00
commit 633f40948d
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ ul ol, ol ul {
}
mark {
background-color: #ffc336;
background-color: #fdffb6;
}
a {

View File

@ -4,7 +4,7 @@ import cajaSanitizers from 'ghost/utils/caja-sanitizers';
var showdown,
formatMarkdown;
showdown = new Showdown.converter({extensions: ['ghostimagepreview', 'ghostgfm', 'footnotes']});
showdown = new Showdown.converter({extensions: ['ghostimagepreview', 'ghostgfm', 'footnotes', 'highlight']});
formatMarkdown = Ember.Handlebars.makeBoundHelper(function (markdown) {
var escapedhtml = '';