@deskeen/markdown
Advanced tools
Changelog
4.0.0 - 2020-12-20
🌟 New
allowHTMLAttributes
option is added.{attrValue=AttrName}
.⚠ Breaking changes
allowImageStyle
option is removed.Changelog
3.2.2 - 2020-10-18
🌟 New
Element.textContent
.Changelog
3.1.0 - 2020-09-02
🌟 New
Element.prepend
, Element.append
are added.🔧 Changes
Changelog
3.0.0 - 2020-08-28
🌟 New
Text
class to create Text Elements.`
) can now be escaped in multiline codes.allowFootnote
option is added and defaults to false.Element.childNodes
is added.⚠ Breaking changes
allowReference
is removed.Element.children
no longer returns Texts.Changelog
2.0.0 - 2020-08-21
🌟 New
allowUnorderedNestedList
, allowOrderedNestedList
, allowReference
options are added.Element.id
, Element.className
, Element.hasAttribute
, Element.getAttribute
, Element.setAttribute
and Element.removeAttribute
, Element.attributes
, Element.innerHTML
, Element.outerHTML
are added.⚠ Breaking changes
allowFootnote
becomes allowReference
.onFootnote
becomes onReference
.Element.attr
becomes Element.attributes
.Element.toHtml()
becomes Element.innerHTML
.Element.tagName
property is now read-only and returns the tag name in uppercase.Element.textContent
returns non-only the text of the Element, but also the text of its descendants.<br>
tag to the last paragraph.brOnBlankLine
option is removed.🔧 Changes
<p>
tag.<video>
HTML tags have now a controls
attribute by default.