Skip to content

Commit 7c5c5ec

Browse files
committed
upgrade marked to 8fold-marked fork due to markedjs/marked#937
1 parent 801abb9 commit 7c5c5ec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ MOCHA_COV_ARGS ?= --require $(LIB_COV)/coffee-coverage-init.js --globals "_\$$j
5151
MARKDOWN_TOC ?= ./node_modules/.bin/toc
5252
MARKDOWN_SRCS ?= $(shell find . -type f -name '*.md' | grep -v node_modules | grep -v module | grep -v .hold | grep -v "inote-util-v.*")
5353
MARKDOWN_TOCED ?= ${MARKDOWN_SRCS:.md=.md-toc}
54-
MARKDOWN_PROCESSOR ?= node -e "var h=require('highlight.js'),m=require('marked'),c='';process.stdin.on('data',function(b){c+=b.toString();});process.stdin.on('end',function(){m.setOptions({gfm:true,highlight:function(x,l){if(l){return h.highlight(l,x).value;}else{return x;}}});console.log(m(c))});process.stdin.resume();"
54+
MARKDOWN_PROCESSOR ?= node -e "var h=require('highlight.js'),m=require('8fold-marked'),c='';process.stdin.on('data',function(b){c+=b.toString();});process.stdin.on('end',function(){m.setOptions({gfm:true,highlight:function(x,l){if(l){return h.highlight(l,x).value;}else{return x;}}});console.log(m(c))});process.stdin.resume();"
5555
MARKDOWN_HTML ?= ${MARKDOWN_TOCED:.md-toc=.html}
5656
MARKDOWN_PREFIX ?= "<html><head><style>`cat docs/styles/markdown.css`</style><body>"
5757
MARKDOWN_SUFFIX ?= "</body></html>"
58-
LITCOFFEE_PROCESSOR ?= node -e "var h=require('highlight.js'),m=require('marked'),c='';process.stdin.on('data',function(b){c+=b.toString();});process.stdin.on('end',function(){m.setOptions({gfm:true,highlight:function(x){return h.highlight('coffee',x).value;}});console.log(m(c))});process.stdin.resume();"
58+
LITCOFFEE_PROCESSOR ?= node -e "var h=require('highlight.js'),m=require('8fold-marked'),c='';process.stdin.on('data',function(b){c+=b.toString();});process.stdin.on('end',function(){m.setOptions({gfm:true,highlight:function(x){return h.highlight('coffee',x).value;}});console.log(m(c))});process.stdin.resume();"
5959
LITCOFFEE_SRCS ?= $(shell find . -type f -name '*.litcoffee' | grep -v node_modules | grep -v module | grep -v .hold)
6060
LITCOFFEE_HTML ?= ${LITCOFFEE_SRCS:.litcoffee=.html}
6161
LITCOFFEE_TOCED ?= ${LITCOFFEE_SRCS:.litcoffee=.md-toc}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"dustjs-linkedin" : "^2",
3737
"htmlparser" : "^1",
3838
"marked-toc" : "^0",
39-
"marked" : "^0.3.7",
39+
"8fold-marked" : "^0",
4040
"mocha" : "^2",
4141
"should" : "^13",
4242
"stew-select" : "^0",

0 commit comments

Comments
 (0)