Update showdown to showdown-ghost 0.3.4

closes #2675

- update showdown to the newly published showdown-ghost module which has a fix for the lack of language support in codeblocks
This commit is contained in:
Hannah Wolfe 2014-11-15 16:37:35 +00:00
parent 360d77bebd
commit d3f70e3b24
5 changed files with 6 additions and 6 deletions

View File

@ -529,7 +529,7 @@ var _ = require('lodash'),
'bower_components/codemirror/addon/mode/overlay.js',
'bower_components/codemirror/mode/markdown/markdown.js',
'bower_components/codemirror/mode/gfm/gfm.js',
'bower_components/showdown/src/showdown.js',
'bower_components/showdown-ghost/src/showdown.js',
'bower_components/moment/moment.js',
'bower_components/keymaster/keymaster.js',
'bower_components/device/lib/device.js',
@ -564,7 +564,7 @@ var _ = require('lodash'),
'bower_components/codemirror/addon/mode/overlay.js',
'bower_components/codemirror/mode/markdown/markdown.js',
'bower_components/codemirror/mode/gfm/gfm.js',
'bower_components/showdown/src/showdown.js',
'bower_components/showdown-ghost/src/showdown.js',
'bower_components/moment/moment.js',
'bower_components/keymaster/keymaster.js',
'bower_components/device/lib/device.js',

View File

@ -22,7 +22,7 @@
"nanoscroller": "0.8.4",
"normalize-scss": "~3.0.1",
"nprogress": "0.1.2",
"showdown": "git://github.com/ErisDS/showdown.git#v0.3.2-ghost",
"showdown-ghost": "0.3.4",
"validator-js": "3.22.1",
"google-caja": "5669.0.0"
}

View File

@ -3,7 +3,7 @@ var _ = require('lodash'),
uuid = require('node-uuid'),
Promise = require('bluebird'),
errors = require('../errors'),
Showdown = require('showdown'),
Showdown = require('showdown-ghost'),
ghostgfm = require('../../shared/lib/showdown/extensions/ghostgfm'),
converter = new Showdown.converter({extensions: [ghostgfm]}),
ghostBookshelf = require('./base'),

View File

@ -9,7 +9,7 @@
var should = require('should'),
// Stuff we are testing
Showdown = require('showdown'),
Showdown = require('showdown-ghost'),
ghostgfm = require('../../shared/lib/showdown/extensions/ghostgfm'),
ghostimagepreview = require('../../shared/lib/showdown/extensions/ghostimagepreview'),

View File

@ -58,7 +58,7 @@
"request": "2.47.0",
"rss": "1.0.0",
"semver": "4.1.0",
"showdown": "https://github.com/ErisDS/showdown/archive/v0.3.2-ghost.tar.gz",
"showdown-ghost": "0.3.4",
"sqlite3": "3.0.2",
"unidecode": "0.1.3",
"validator": "3.22.1",