Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 05:19
af0886b

An element or attribute line next to text now warns with element-blank-lines, which replaces element-lazy-line. A formatter that puts each paragraph on one line would join such a line to the text beside it, and change what it means.

To upgrade, put a blank line between each {@name}, {/name} or {#id .class} line and the text, table row or list next to it, and match on element-blank-lines where you matched on element-lazy-line. A heading, a fence or a new list item next to the line still needs none. For a poem, end each line with \ rather than relying on white-space: pre-line.

What's Changed

Breaking

  • Warn about an element or attribute line a formatter would join to text by @amitkaps in #165

Documentation

  • A poem keeps its line breaks with , which a formatter can't join by @amitkaps in #166

Full Changelog: v0.4.3...v0.5.0