Utilities for working with unist/mdast ASTs, remark/remark-lint, and the unified ecosystem
unified-utils
This monorepo contains several utilities for working with unist/mdast ASTs, remark and remark-lint, and the broader unified ecosystem.
Packages
mdast
- mdast-util-hidden — prevent nodes from being seen by transformers.
- mdast-util-tight-comments — selectively remove newlines around comment nodes during serialization.
remark
- remark-capitalize-headings — selectively transform headings using Vercel's title package.
- remark-ignore — use comments to exclude one or more nodes from transformation.
- remark-remove-unused-definitions — remove unused reference-style link definitions from a document.
- remark-remove-url-trailing-slash — remove trailing slashes from the ends of all URL paths.
- remark-renumber-references — renumber numeric reference-style link
ids contiguously starting from
[1]. - remark-sort-definitions — reorder reference-style link definitions at the end of a document.
- remark-tight-comments — selectively remove newlines around comments.
remark-lint
- remark-lint-fenced-code-flag-case — warn when fenced code blocks have inconsistent or improperly cased language flags.
- remark-lint-heading-word-length — warn when headings have too many or too few words.
- remark-lint-list-item-style — warn when list items violate a given capitalization or punctuation style.
Forks
These are (likely temporary) installable forks with changes that might be merged back upstream.
remark-lint-no-empty-url — warn for empty URLs in links and images (upstream).Was successfully merged upstream and released!
Related
- @projectorjs/config-remark — reusable remark presets.
- remark — processor and CLI.
- unified — parser ecosystem.
- mdast — Markdown specification.
- unist — base specification.
Contributing and Support
New issues and pull requests are always welcome and greatly appreciated! Just as well, you can star this project to let me know you found it useful! Or buy me a beer, I'd appreciate it. Thank you!
See CONTRIBUTING.md and SUPPORT.md for more information.
Contributors
Thanks goes to these wonderful people (emoji key):
Bernard |
François Violette |
Corbin Crutchley |
LuchoTurtle |
|||
|
|
||||||
This project follows the all-contributors specification. Contributions of any kind welcome!