# wooorm/remark

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/wooorm-remark).**

8,923 stars · 375 forks · JavaScript · MIT

## Links

- GitHub: https://github.com/wooorm/remark
- Homepage: https://remark.js.org
- awesome-repositories: https://awesome-repositories.com/repository/wooorm-remark.md

## Description

Remark is a markdown processor that parses markdown text into a structured JSON abstract syntax tree for programmatic analysis and transformation. It functions as a markdown AST parser and processor, utilizing a plugin framework to manage extensible syntax and transformation rules.

The project enables custom markdown syntax extensions and content transformation through a plugin system, allowing for the addition of non-standard markup and metadata. It also includes a markdown linter to identify style inconsistencies and ensure adherence to writing standards.

The toolset covers markdown document formatting, format conversion to HTML, and AST generation. A command line interface is provided to check and rewrite markdown files for consistent project-wide formatting.

## Tags

### Content Management & Publishing

- [Markdown AST Parsing](https://awesome-repositories.com/f/content-management-publishing/markdown-parsing-pipelines/markdown-ast-parsing.md) — Converts raw markdown text into a structured JSON abstract syntax tree for programmatic analysis and manipulation.
- [Markdown Extensions](https://awesome-repositories.com/f/content-management-publishing/content-management-systems/content-authoring-tools/markdown-based-content-authoring/markdown-based-content-authoring/markdown-extensions.md) — Supports custom syntax and rendering rules that extend standard markdown to provide specialized markup and metadata.
- [Document Processing Pipelines](https://awesome-repositories.com/f/content-management-publishing/content-processing-transformation/document-processing-conversion/document-processing-tools/pdf-processing-engines/pdf-processing/document-processing-pipelines.md) — Implements a sequential pipeline of tasks for extracting, transforming, and formatting document content.
- [Markdown Abstract Syntax Trees](https://awesome-repositories.com/f/content-management-publishing/content-processing-transformation/document-processing-conversion/document-processing/format-specific-parsers/markdown-abstract-syntax-trees.md) — Transforms input markdown text into structured tree representations to facilitate efficient document transformation. ([source](https://github.com/wooorm/remark#readme))
- [Markdown Processors](https://awesome-repositories.com/f/content-management-publishing/content-processing-transformation/markdown-markup-tools/markdown-processors.md) — Parses and transforms lightweight markdown syntax into standard web formats or other structured document types.
- [AST-Based Content Transformations](https://awesome-repositories.com/f/content-management-publishing/content-processing-transformation/markdown-markup-tools/markdown-tools/markdown-renderers/markdown-transformation-pipelines/ast-transformations/markdown/ast-based-content-transformations.md) — Uses plugins to modify the markdown syntax tree for text rewriting and the generation of tables of contents. ([source](https://github.com/wooorm/remark#readme))
- [Markdown Conversions](https://awesome-repositories.com/f/content-management-publishing/markdown-conversions.md) — Transforms markdown syntax trees into various output formats for diverse publishing environments. ([source](https://github.com/wooorm/remark#readme))
- [Markdown Parsing Pipelines](https://awesome-repositories.com/f/content-management-publishing/markdown-parsing-pipelines.md) — Provides configurable pipelines that convert markdown text into structured formats using pluggable extensions. ([source](https://github.com/wooorm/remark#readme))
- [Markdown to HTML Converters](https://awesome-repositories.com/f/content-management-publishing/markdown-to-html-converters.md) — Transforms markdown plaintext markup into structured HTML for web display.

### Development Tools & Productivity

- [AST-Based Source Transformations](https://awesome-repositories.com/f/development-tools-productivity/ast-transformation-tools/ast-to-source-conversion/ast-based-source-transformations.md) — Provides the ability to modify source code by replacing syntax tree nodes while maintaining original structure.
- [Markdown Linters](https://awesome-repositories.com/f/development-tools-productivity/markdown-linters.md) — Identifies syntax violations and ensures consistency and readability in markdown files.

### Software Engineering & Architecture

- [Abstract Syntax Tree Specifications](https://awesome-repositories.com/f/software-engineering-architecture/abstract-syntax-tree-specifications.md) — Adheres to a standardized JSON schema for representing markdown syntax trees to ensure tool compatibility.
- [Markdown Plugin Pipelines](https://awesome-repositories.com/f/software-engineering-architecture/software-architecture/architectural-patterns/plugin-module-systems/modular-plugin-architectures/plugin-based-architectures/plugin-based-architectures/pipeline-plugins/markdown-plugin-pipelines.md) — Provides configurable chains of plugins for extensible markdown transformations.
- [Unified Document APIs](https://awesome-repositories.com/f/software-engineering-architecture/unified-document-apis.md) — Provides a shared API for parsing, transforming, and stringifying content across different document formats.

### Web Development

- [AST Modification Middlewares](https://awesome-repositories.com/f/web-development/request-middleware-pipelines/service-middleware-pipelines/ordered-middleware-pipelines/ast-modification-middlewares.md) — Uses a series of independent functions to sequentially modify the markdown syntax tree during processing.
- [Markdown Parser Extensions](https://awesome-repositories.com/f/web-development/web-standards/typography-systems/inline-text-styles/markdown-parser-extensions.md) — Provides pluggable components that add custom block and inline parsing logic to the markdown engine. ([source](https://github.com/wooorm/remark#readme))

### Part of an Awesome List

- [Markdown Formatting](https://awesome-repositories.com/f/awesome-lists/devtools/linting-and-formatting/markdown-formatting.md) — Provides a command line tool for the static analysis and automatic rewriting of markdown files for style consistency. ([source](https://github.com/wooorm/remark#readme))
- [Parsing Tools](https://awesome-repositories.com/f/awesome-lists/data/parsing-tools.md) — Markdown processing tool.

### Testing & Quality Assurance

- [Markdown Linters](https://awesome-repositories.com/f/testing-quality-assurance/markdown-linters.md) — Inspects markdown files for style violations and documentation best practices. ([source](https://github.com/wooorm/remark#readme))
