mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
Merge pull request #4575 from ErisDS/highlight
Adds markdown highlight support
This commit is contained in:
commit
633f40948d
@ -101,7 +101,7 @@ ul ol, ol ul {
|
||||
}
|
||||
|
||||
mark {
|
||||
background-color: #ffc336;
|
||||
background-color: #fdffb6;
|
||||
}
|
||||
|
||||
a {
|
||||
|
@ -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 = '';
|
||||
|
Loading…
Reference in New Issue
Block a user