Skip to content

Commit

Permalink
Merge pull request #19 from celsomiranda/markdown-it-abbr
Browse files Browse the repository at this point in the history
Add markdown-it-abbr support
  • Loading branch information
Celso Miranda committed Aug 12, 2015
2 parents 0dad8a4 + 2241b48 commit ac58e49
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -31,22 +31,23 @@
"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",
"markdown-it-sup": "^1.0.0",
"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"
}
Expand Down
5 changes: 2 additions & 3 deletions test/fixtures/outputs/plugins.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,8 @@ <h3><a href="https://github.com/markdown-it/markdown-it-deflist">Definition list
~ Definition 2a
~ Definition 2b</p>
<h3><a href="https://github.com/markdown-it/markdown-it-abbr">Abbreviations</a></h3>
<p>This is HTML abbreviation example.</p>
<p>It converts &quot;HTML&quot;, but keep intact partial entries like &quot;xxxHTMLyyy&quot; and so on.</p>
<p>*[HTML]: Hyper Text Markup Language</p>
<p>This is <abbr title="Hyper Text Markup Language">HTML</abbr> abbreviation example.</p>
<p>It converts &quot;<abbr title="Hyper Text Markup Language">HTML</abbr>&quot;, but keep intact partial entries like &quot;xxxHTMLyyy&quot; and so on.</p>
<h3><a href="https://github.com/markdown-it/markdown-it-container">Custom containers</a></h3>
<p>::: warning
<em>here be dragons</em>
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
}
}
};
Expand Down

0 comments on commit ac58e49

Please sign in to comment.