Related-to: micromark#146.
Recently, an underlying package used throughout remark received some great
changes, improving performance significantly, and fixing several (uncommon)
bugs:
[`micromark-extension-gfm-table@1.0.6`](https://github.com/micromark/micromark-extension-gfm-table/releases/tag/1.0.6).
Unfortunately, that release changed *which* cell owns the pipes compared to
before.
Old behavior was that the first column would receive two pipes, and later ones
the final pipe.
New behavior is for the columns to receive one pipe, and the last column two.
I think the new behavior makes slightly more sense, but it’s a bit vague, and
as the behavior is unspecified, and the release is very tough to roll back, I
instead fixed the two packages that use the position info here.
If you’re getting these updated packages, you’re likely also getting last
week’s `micromark-extension-gfm-table`, and it’ll all work.
* Update to a micromark parser
* The markdown parser is now CommonMark compliant
* Several rules work on GFM features (literal autolinks, tables,
strikethrough, tasklist).
Make sure to install `remark-gfm` if you’re using GFM
* A couple of positions in messages moved a tad bit to make more sense
Most plugins are fine, but some received majors.
The following plugins are made for the new parser and do not work on
the old.
While you’re still on remark 12, use their previous version.
Use the new versions for remark 13+.
* `remark-lint-checkbox-character-style`
* `remark-lint-checkbox-content-indent`
* `remark-lint-list-item-bullet-indent`
* `remark-lint-list-item-spacing`
* `remark-lint-no-blockquote-without-marker`
* `remark-lint-no-heading-indent`
* `remark-lint-no-paragraph-content-indent`
* `remark-lint-no-table-indentation`
* `remark-lint-table-cell-padding`
* `remark-lint-table-pipes`
These plugins generally work on old and new remark, but might miss some
messages in the old one now:
* `remark-lint-no-consecutive-blank-lines` (extra blank lines can no
longer break out of lists)
* `remark-lint-no-heading-content-indent` (pedantic mode no longer
supported)
* `remark-lint-no-inline-padding` (emphasis, strong, strikethrough
can’t be padded anymore)
* `remark-lint-no-undefined-references` (undefined references are no
longer parsed, so we have to do magic to find them)
This commit rewrites most of the documentation per rule and preset,
`remark-lint` itself, and `unified-lint-rule`.
* Better and more readable automatic examples
* Check and update all rule descriptions
* Use middot (·) and line-feed (␊) for relevant examples
* Unify descriptions of `'consistent`'
* Add some more docs where needed
Closes GH-158.