mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-07 11:30:55 +03:00
Merge pull request #2256 from caerphoto/1795-typography
Add support for typographically-correct punctuation
This commit is contained in:
commit
0575ed5a3c
@ -449,7 +449,7 @@
|
|||||||
initMarkdown: function () {
|
initMarkdown: function () {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
this.converter = new Showdown.converter({extensions: ['ghostdown', 'github']});
|
this.converter = new Showdown.converter({extensions: ['typography', 'ghostdown', 'github']});
|
||||||
this.editor = CodeMirror.fromTextArea(document.getElementById('entry-markdown'), {
|
this.editor = CodeMirror.fromTextArea(document.getElementById('entry-markdown'), {
|
||||||
mode: 'gfm',
|
mode: 'gfm',
|
||||||
tabMode: 'indent',
|
tabMode: 'indent',
|
||||||
|
Loading…
Reference in New Issue
Block a user