Releases: arve0/markdown-it-attrs
Releases · arve0/markdown-it-attrs
v2.1.0
Custom delimiters added by @hipstersmoothie in PR #64.
You can now configure delimiters like this:
md.use(attrs, {
leftDelimiter: '[',
rightDelimiter: ']'
})
with the following markdown syntax:
# header with [.class #id and=attrs]
paragraph
v2.0.0
Allows one char empty attributes, like paragraph {a}
→ <p a="">paragraph</p>
, see issue #58.
v1.2.1
Fixed two bugs, #50 and #52, allowing `code with{.curly}`
and multiple curlies behind `code`{.a} and ![](images.png){.b} in same paragraph
.
v1.2.0
Add support for css-modules: ..green
-> css-module="green"
. See #48.
v1.1.0
- Fix
![](images.png){.class}
, bug introduced in rewrite (v1.0.0
), issue #46
v1.0.1
- browser build in es5, transform with babel es2015
v0.8.0
Now
- item
- nested
- item 2
{.green}
gives
<ul class="green">
<li>item
<ul>
<li>nested</li>
</ul>
</li>
<li>item 2</li>
</ul>
not
<ul>
<li>item
<ul class="green">
<li>nested</li>
</ul>
</li>
<li>item 2</li>
</ul>
Documented ambiguity in nested lists, see #32.
v0.7.4
Add keywords to improve npm search.