Skip to content

Commit

Permalink
remove github-flavored-markdown; automatically use marked instead (js…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Williams committed Apr 19, 2013
1 parent a12b361 commit b082de4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 1,465 deletions.
1 change: 0 additions & 1 deletion Jake/templates/package.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"async": "0.1.22",
"catharsis": "0.5.6",
"crypto-browserify": "git+https://github.com/dominictarr/crypto-browserify.git#95c5d505",
"github-flavored-markdown": "git+https://github.com/hegemonic/github-flavored-markdown.git",
"js2xmlparser": "0.1.0",
"jshint": "0.9.1",
"markdown": "git+https://github.com/jsdoc3/markdown-js.git",
Expand Down
16 changes: 4 additions & 12 deletions lib/jsdoc/util/markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ var parsers = {
/** The "[markdown-js](https://github.com/evilstreak/markdown-js)" (aka "evilstreak") parser. */
evilstreak: "markdown",
/**
* Deprecated in favor of "marked"
* The "[GitHub-flavored Markdown](https://github.com/hegemonic/github-flavored-markdown)"
* parser.
* The "GitHub-flavored Markdown" parser.
* @deprecated Replaced by "marked."
*/
gfm: "github-flavored-markdown",
gfm: "marked",
/**
* The "[Marked](https://github.com/chjj/marked)"
* parser.
* The "[Marked](https://github.com/chjj/marked)" parser.
*/
marked: "marked"
};
Expand Down Expand Up @@ -56,12 +54,6 @@ function getParseFunction(parser, conf) {
conf = conf || {};
var parse;

if (parser === parsers.gfm) {
console.log( 'configuration uses the gfm parser, which has been replaced by the marked parser. ' +
'Please update the configuration to use "' + parsers.marked + '" parser instead.' );
parser = parsers.marked;
}

if (parser === parsers.marked) {
parser = require(parser);
parser = require(parser);
Expand Down
2 changes: 0 additions & 2 deletions node_modules/github-flavored-markdown/.npmignore

This file was deleted.

21 changes: 0 additions & 21 deletions node_modules/github-flavored-markdown/package.json

This file was deleted.

Loading

0 comments on commit b082de4

Please sign in to comment.