Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@deskeen/markdown

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deskeen/markdown - npm Package Versions

1

4.1.0

Diff

Changelog

Source

4.1.0 - 2021-02-19

🌟 New

  • <audio> elements added.
deskeen
published 4.0.1 •

Changelog

Source

4.0.1 - 2020-12-21

🐛 Bugfix

  • Element.removeAttribute no longer makes outerHTML crash.
deskeen
published 4.0.0 •

Changelog

Source

4.0.0 - 2020-12-20

🌟 New

  • allowHTMLAttributes option is added.
  • HTML Attributes can be added to images by appending {attrValue=AttrName}.

⚠ Breaking changes

  • allowImageStyle option is removed.
deskeen
published 3.2.2 •

Changelog

Source

3.2.2 - 2020-10-18

🌟 New

  • A Null value or an empty string can be passed to Element.textContent.
deskeen
published 3.2.1 •

Changelog

Source

3.2.1 - 2020-10-18

🔧 Changes

  • An empty line >_ within a quote creates a new paragraph.
deskeen
published 3.2.0 •

Changelog

Source

3.2.0 - 2020-09-10

🔧 Changes

  • Footnotes are now embedded in a ol tag.
deskeen
published 3.1.0 •

Changelog

Source

3.1.0 - 2020-09-02

🌟 New

  • Element.prepend, Element.append are added.

🔧 Changes

  • Bold/Italic texts can not start/end with a space.
deskeen
published 3.0.0 •

Changelog

Source

3.0.0 - 2020-08-28

🌟 New

  • Add Text class to create Text Elements.
  • Backticks (`) can now be escaped in multiline codes.
  • Footnotes are implemented.
  • allowFootnote option is added and defaults to false.
  • Element.childNodes is added.

⚠ Breaking changes

  • allowReference is removed.
  • Element.children no longer returns Texts.
deskeen
published 2.0.0 •

Changelog

Source

2.0.0 - 2020-08-21

🌟 New

  • Unordered and ordered nested lists are supported.
  • Line breaks in (un)ordered lists and nested lists are supported.
  • Space-only lines are considered empty.
  • 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.
  • Hoziontal lines must now have a blank line before and after the dashes.
  • A single newline adds a <br> tag to the last paragraph.
  • Two newlines creates a paragraph.
  • brOnBlankLine option is removed.
  • Ordered Lists now starts with a number and a period.
  • Superscript texts no longer ends with a circumflex.

🔧 Changes

  • Void HTML elements no longer have a trailing slash.
  • Only special characters are now converted to alphanumeric values.
  • Escape characters are now removed in the parsed element.
  • Blockquotes text lines are now embedded in a <p> tag.
  • <video> HTML tags have now a controls attribute by default.
deskeen
published 1.0.0 •

Changelog

Source

1.0.0 - 2020-08-13

  • Initial version
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc