mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Merge pull request #2256 from caerphoto/1795-typography
Add support for typographically-correct punctuation
This commit is contained in:
commit
0575ed5a3c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue