Skip to content

Releases: syntax-tree/hast-util-to-mdast

6.0.0

10 Sep 10:35
17a15f6
Compare
Choose a tag to compare
  • 68fe217 Update rehype-minify-whitespace, unist-util-visit
    (breaking, potentially, if you or your dependents use typescript)

5.0.1

05 Aug 07:07
d1e27f6
Compare
Choose a tag to compare
  • 614bc80 Fix support for tables without rows, cells
  • 3d07e2a Add notes on security

5.0.0

29 May 15:30
353a9a3
Compare
Choose a tag to compare
  • 35d12e3 Add support for straddled paragraphs
  • dadad8f Add support for form elements
  • 785b144 Add support for title on <audio>, <video>
  • 2b6df07 Add support for <iframe> to link or ignoring
  • 1f58cc6 Add support for ignoring <noembed>
  • c0a5ce2 Add support for ignoring frame related elements
  • 2ebc108 Add support for ruby elements
  • b859a12 Add support for <noscript> to children
  • d2d96c1 Add support for <ins> to children
  • da817ba Use innerText for code
  • b8f9d15 Add example on how to inject raw HTML
  • ff209fc Refactor prose

4.0.0

07 Nov 20:47
Compare
Choose a tag to compare
  • 861125e Update for changes in remark

3.0.0

19 Jul 20:49
Compare
Choose a tag to compare
  • 2d39e28 Add support for newlines in options
  • ddaf618 Add support for <time> to children
  • 6f954ce Add support for <multicol> to block children
  • 279da27 Add support for <marquee> to children
  • 1f12982 Add explicit ignore for more useless elements
  • 86168d2 Add support for <video>, <audio>
  • 57b0d05 Fix bug where white space only paragraphs showed
  • faed2dc Add <embed>, <object> as ignored elements
  • 7003834 Add support for <canvas> to children
  • 16ebdd7 Add support for <picture> to block-content
  • 4e60c38 Add support for <dl>, <dt>, <dd>
  • cf92230 Add support for <base> element

2.1.0

09 Dec 12:25
Compare
Choose a tag to compare
  • c6c1336 Add support for ignoring from attributes
  • 321aa1e Add notes on implied sentences, ignored nodes

2.0.1

03 Dec 22:11
Compare
Choose a tag to compare
  • 349c1ce Externalise code to mdast-util-phrasing
  • a49b71e Add Contribute section to readme.md

2.0.0

07 Sep 14:31
Compare
Choose a tag to compare

Generic fixes

  • 0bc95f3 Fix bug in code handling where content wasn’t trimmed
  • d59cfb1 Fix force wrap of block-level elements

New elements

  • 50a90b4 Add support for <mark> to emphasis
  • 6f50b96 Add support for <image> to image
  • 7a448f3 Add support for <dir> to list
  • d2b3dc2 Add support for <listing>, <plaintext> to code
  • ba6a207 Add tests for ignoring <dialog>
  • 69a93d5 Add support for <div>
  • 0d036ff Add support for <center>
  • ebe9983 Add support for <figure>, <figcaption>
  • d5fdbc6 Add more elements that map to their content
    • <bdi>
    • <bdo>
    • <big>
    • <blink>
    • <cite>
    • <data>
    • <details>
    • <dfn>
    • <font>
    • <meter>
    • <nobr>
    • <output>
    • <progress>
    • <slot>
    • <small>
    • <span>
    • ...and <summary> to a wrapped node.
  • 52fda67 Add support for explicitly ignoring doctype
  • 41fd8db Add more ignored elements
  • a26b1c5 Add support for main block-level elements to block-content.
    • sectioning elements: <article>, <aside>, <nav>, <section>
    • <html>
    • <body>
    • <main>
    • <footer>
    • <header>
    • <hgroup>
  • fe9be6f Add support for ignoring <area>, <map>
  • 238d294 Add support for <address> to paragraph
  • cac60e8 Add support for <abbr>, <acronym> to children
  • 607462d Add support for <q> to quotes (") and children
  • 687d126 Add support for <u> to emphasis
  • 321f7b0 Add support for <sub>, <sup> to children
  • 9fa3011 Add support for <tt>
  • 228bc0f Add support for <wbr>
  • 5aa29c1 Add support for <xmp>

Refactor project

1.2.0

05 Jul 17:55
Compare
Choose a tag to compare
  • f350a40 Add support for enforcing documents with document: true
  • a404d8d Fix modifying of constant functions

1.1.4

29 Jun 19:57
Compare
Choose a tag to compare
  • dd3d497 Fix issue with nested lists