Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
arve0 committed Aug 27, 2017
1 parent 84d3f92 commit 53b09d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions markdown-it-attrs.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,15 +241,20 @@ module.exports = [{
}
}, {
/**
* bla `click()`{.c}
* bla `click()`{.c} ![](img.png){.d}
*
* differs from 'inline attributes' as it does
* not have a closing tag (nesting: -1)
*/
name: 'code inline',
name: 'inline nesting 0',
tests: [{
shift: 0,
type: 'inline',
children: [{
shift: -1,
type: 'code_inline' // does not have nesting: -1
type: function type(str) {
return str === 'image' || str === 'code_inline';
}
}, {
shift: 0,
type: 'text',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "markdown-it-attrs",
"version": "1.0.1",
"version": "1.1.0",
"description": "Add classes, identifiers and attributes to your markdown with {} curly brackets, similar to pandoc's header attributes",
"main": "index.js",
"license": "MIT",
Expand Down

0 comments on commit 53b09d1

Please sign in to comment.