Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference Unist instead of duplicating definitions #4

Closed
wooorm opened this issue Feb 5, 2016 · 0 comments
Closed

Reference Unist instead of duplicating definitions #4

wooorm opened this issue Feb 5, 2016 · 0 comments
Labels
📚 area/docs This affects documentation 💪 phase/solved Post is done 👶 semver/patch This is a backwards-compatible fix 🦋 type/enhancement This is great to have

Comments

@wooorm
Copy link
Member

wooorm commented Feb 5, 2016

Unist now houses the core definitions of nodes. Don’t duplicate definitions, refer to its definitions instead.

Related to syntax-tree/unist@913b1bd.

@wooorm wooorm added the 🦋 type/enhancement This is great to have label Feb 5, 2016
@wooorm wooorm closed this as completed in 95144d5 Feb 5, 2016
@wooorm wooorm added the 👶 semver/patch This is a backwards-compatible fix label Feb 6, 2016
wooorm added a commit to remarkjs/remark that referenced this issue Oct 14, 2018
* remark-parse: remove `loose` fields from `list`, `listItem`
* remark-parse: add support for empty list-items in any non-pedantic mode
* remark-parse: add `spread` to `list`, to signal that its items should have blank
  lines between them, set to true if any blank line exists between items
* remark-parse: add `spread` to `listItem`, to signal that its children should have
  blank lines between them
* remark-parse: fix bug where two lists, if they are both ordered or both not
  ordered, was seen in commonmark as one list
* remark-stringify: add support for missing `ordered` field
* remark-stringify: add support for missing `start` field
* remark-stringify: add support for `list.spread` (default: false)
* remark-stringify: add support for `listItem.spread` (default: true)
* remark-stringify: fix bug where two lists, if they are both ordered or both not
  ordered, and in commonmark, were not properly stringified, resulting in a
  new parse seeing them as one list
* remark-stringify: fix bug where a list followed by an indented code block, in
  commonmark, was not correctly stringified, resulting in a new parse seeing
  the code as content of the list
* remark-stringify: remove trailing white-space on empty list-items
* remark-stringify: add support for stringifying list-items without parent

Related to syntax-tree/mdast#4.
Related to syntax-tree/mdast-util-to-hast#23.
Related to GH-349.

Closes GH-332.
Closes GH-350.
Closes GH-358.
Closes GH-364.

Reviewed-by: Elijah Hamovitz <elijahhamovitz@gmail.com>
Reviewed-by: Ika <ikatyang@gmail.com>
wooorm added a commit to syntax-tree/mdast-util-to-hast that referenced this issue Nov 11, 2018
Related to syntax-tree/mdast#4.
Related to remarkjs/remark#349.
Related to remarkjs/remark#350.
Related to remarkjs/remark#364.

Closes GH-23.

Co-authored-by: Titus Wormer <tituswormer@gmail.com>
@wooorm wooorm added ⛵️ status/released 📚 area/docs This affects documentation labels Aug 12, 2019
@wooorm wooorm added the 💪 phase/solved Post is done label Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 area/docs This affects documentation 💪 phase/solved Post is done 👶 semver/patch This is a backwards-compatible fix 🦋 type/enhancement This is great to have
Development

No branches or pull requests

1 participant