Skip to content

Commit

Permalink
Prepare version 3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Celso Miranda committed Jun 25, 2015
1 parent d438cc4 commit f86cfbd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-renderer-markdown-it",
"version": "3.3.1",
"version": "3.3.2",
"description": "Markdown-it is a Markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.",
"main": "index",
"scripts": {
Expand Down
13 changes: 13 additions & 0 deletions test/build-test.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict'
fs = require('fs')
render = require('../lib/renderer')
source = fs.readFileSync('./fixtures/markdownit.md', 'utf8')
ctx = config: markdown: anchors:
level: 2
collisionSuffix: 'ver'
permalink: true
permalinkClass: 'header-anchor'
permalinkSymbol: ''
parse = render.bind(ctx)
result = parse(text: source)
fs.writeFileSync './fixtures/outputs/.html', result

0 comments on commit f86cfbd

Please sign in to comment.