Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 13:31
73f0b20

markz can now list every id html() writes, for a link checker or a table of contents, with ids(doc).

What to change when you upgrade:

  • A heading's idExplicit is now written: doc.data(node, "heading").written.
  • headings() gives label in place of text: h.label.
  • An id that reads like a URL, like {#javascript:x}, is now written on a span as it already was on a heading.

What's Changed

Breaking

  • Add ids(doc), every id html() writes; rename a heading's idExplicit to written by @amitkaps in #177

Fixed

  • An id is written as it is, on a span as on a heading, even when it reads like a URL by @amitkaps in #179

Faster and smaller

  • ids: label, not text, and null for a block by @amitkaps in #178

Documentation

  • The plan's next is ids(doc), every id html() writes by @amitkaps in #176
  • Design: markz exports a reader when the answer depends on its own rules by @amitkaps in #180

Full Changelog: v0.6.0...v0.7.0