github remarkjs/remark 4.0.0

latest releases: remark-cli@12.0.1, 15.0.1, 15.0.0...
9 years ago

Highlights

  • Update to make sure plug-ins are used over files (e445030)
  • Update unified (2e17441)
  • Add support for syntax tree input to remark(1) (86bb88e)
  • Remove support for Duo (480b01a)
  • Refactor how compiler picks visitors (bfb5812)
  • Rename link, src, href properties to url (801a1b6)
  • Remove undefined value for checked on list-items (d0452d3)
  • Rename horizontalRule to thematicBreak (67b36a0)
  • Add offsets to nodes when parsing in remark(3) (070d977)
  • Remove tableHeader definition (593bb82)

Changes

3.2.3...4.0.0

What plug-in authors should do

  • If you’re working with images, links, or definitions, make sure
    to update the properties you used from "link" (on definitions),
    "src" (on images, image references), and "href" (on links, link
    references) to "url";
  • If your code does something with horizontalRule nodes, make sure
    to rename them to thematicBreak. This change spawns from changes
    in CommonMark, where they decided to rename the node to allow
    for other uses cases;
  • If you’re working with checkboxes, you can remove code which
    handled the case where listItem.checked was undefined;
  • If your code works with tables, make sure it doesn’t depend on
    tableHeader. The tableHeader was dropped and is now another
    tableRow;
  • If you extend the compiler, mode node visitors from Compiler#
    to Compiler#visitors;
  • If you depended on remark-range, switch to using
    vfile-location instead.

Don't miss a new remark release

NewReleases is sending notifications on new releases.