unist
remark-lint
unist | remark-lint | |
---|---|---|
3 | 3 | |
835 | 918 | |
2.2% | 1.4% | |
4.4 | 8.0 | |
11 months ago | 16 days ago | |
JavaScript | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
unist
- What tools/internal projects/app/scripts/automation stuff have you built at work to improve your development experience?
-
Converting and customizing Markdown files to HTML with Unified, remark & rehype
remark parses and process the Markdown text, and converts it into an abstract syntax tree (AST). This tree is composed of unist nodes, which follow the Markdown Abstract Syntax Tree (mdast) structure.
-
How to create a custom lint rule for Markdown and MDX using remark and ESLint
Because we will be inspecting a mdast, which is a markdown abstract syntax tree built upon unist, we can take advantage of the many existing unist utilities to inspect our tree's nodes.
remark-lint
-
How do you use a Style Guide?
we first looked into Vale but are moving to Remark Lint. Both have VS Code extensions so you can have it prompt you as you work.
-
Why I'm writing a blog every week this year and why you should write more too!
I want to just give a shout out to Remark which is a linter for your READMEs which makes so much sense to me. Our code should be of a consistent standard, so why not the READMEs too!
-
How to create a custom lint rule for Markdown and MDX using remark and ESLint
With our dependencies all installed, we can start creating a .remarkrc.js, which will contain all the plugins that will be consumed by the remark processor. For details about alternative or advanced configurations, please refer to Configuring remark-lint.
What are some alternatives?
hast - Hypertext Abstract Syntax Tree format
eslint-mdx - ESLint Parser/Plugin for MDX
unified - ☔️ interface for parsing, inspecting, transforming, and serializing content through syntax trees
vscode-markdownlint - Markdown linting and style checking for Visual Studio Code
unist-util-visit - utility to visit nodes
markdownlint - A Node.js style checker and lint tool for Markdown/CommonMark files.
ntast - Notion Abstract Syntax Tree specification.
vale - :pencil: A markup-aware linter for prose built with speed and extensibility in mind.
remark - markdown processor powered by plugins part of the @unifiedjs collective
vfile - Virtual file format for text processing used in @unifiedjs
remark-react - Legacy plugin to transform to React — please use `remark-rehype` and `rehype-react` instead