diff --git a/package.json b/package.json index d934732..d294065 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-renderer-markdown-it", - "version": "3.3.2", + "version": "3.4.0", "description": "Markdown-it is a Markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.", "main": "index", "scripts": { @@ -31,7 +31,8 @@ "homepage": "https://github.com/celsomiranda/hexo-renderer-markdown-it", "dependencies": { "lodash.assign": "^3.2.0", - "markdown-it": "^4.2.2", + "markdown-it": "^4.4.0", + "markdown-it-abbr": "^1.0.0", "markdown-it-footnote": "^1.0.0", "markdown-it-ins": "^1.0.0", "markdown-it-sub": "^1.0.0", @@ -39,14 +40,14 @@ "sluggo": "^0.2.0" }, "devDependencies": { - "chai": "^3.0.0", - "coveralls": "^2.11.2", - "del": "^1.2.0", + "chai": "^3.2.0", + "coveralls": "^2.11.3", + "del": "^1.2.1", "gulp": "^3.9.0", "gulp-istanbul": "^0.10.0", - "gulp-jshint": "^1.11.0", - "gulp-load-plugins": "^1.0.0-rc", - "gulp-mocha": "^2.1.2", + "gulp-jshint": "^1.11.2", + "gulp-load-plugins": "^1.0.0-rc.1", + "gulp-mocha": "^2.1.3", "jshint-stylish": "^2.0.1", "mocha": "^2.2.5" } diff --git a/test/fixtures/outputs/plugins.html b/test/fixtures/outputs/plugins.html index a1a96a9..52cbee8 100644 --- a/test/fixtures/outputs/plugins.html +++ b/test/fixtures/outputs/plugins.html @@ -170,9 +170,8 @@

Definition list ~ Definition 2a ~ Definition 2b

Abbreviations

-

This is HTML abbreviation example.

-

It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.

-

*[HTML]: Hyper Text Markup Language

+

This is HTML abbreviation example.

+

It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.

Custom containers

::: warning here be dragons diff --git a/test/index.js b/test/index.js index 9194362..9ea087a 100644 --- a/test/index.js +++ b/test/index.js @@ -105,7 +105,7 @@ describe('Hexo Renderer Markdown-it', function () { typographer: false, quotes: '«»“”' }, - plugins: ['markdown-it-footnote', 'markdown-it-sub', 'markdown-it-sup', 'markdown-it-ins'] + plugins: ['markdown-it-footnote', 'markdown-it-sub', 'markdown-it-sup', 'markdown-it-ins', 'markdown-it-abbr'] } } };