remark

Markdown processor powered by plugins based on @unifiedjs (and @vfile, @syntax-tree)

Github stars Tracking Chart

remark

Build
Coverage
Downloads
Size
Sponsors
Backers
Chat

remark is a Markdown processor powered by plugins part of the
unified collective.

Intro

remark is not another Markdown to HTML compiler.
It can generate and reformat Markdown too.
Powered by plugins to do all kinds of things: check Markdown code
style
, transform safely to React, add a table of
contents
, or compile to man pages.

This repository contains the following projects:

  • remark-parse — Parse Markdown documents to syntax trees
  • remark-stringify — Stringify syntax trees to Markdown
    documents
  • remark — Programmatic interface with both remark-parse and remark-stringify
  • remark-cli — Command-line interface wrapping remark

Sponsors

Read more about the unified collective on Medium »

Security

As Markdown is sometimes used for HTML, and improper use of HTML can open you up
to a cross-site scripting (XSS) attack, use of remark can also be unsafe.
When going to HTML, use remark in combination with the rehype
ecosystem, and use rehype-sanitize to make the tree safe.

Use of remark plugins could also open you up to other attacks.
Carefully assess each plugin and the risks involved in using them.

Contribute

See contributing.md in remarkjs/.github for ways
to get started.
See support.md for ways to get help.
Ideas for new plugins and tools can be posted in remarkjs/ideas.
Join us in spectrum to chat with the community and contributors.

A curated list of awesome resources can be found in awesome
remark
.

This project has a Code of Conduct.
By interacting with this repository, organisation, or community you agree to
abide by its terms.

License

MIT © Titus Wormer

Main metrics

Overview
Name With Ownerremarkjs/remark
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2014-07-28 19:35:14
Pushed At2025-04-18 15:52:24
Last Commit At
Release Count180
Last Release Nameremark-cli@12.0.1 (Posted on )
First Release Name0.0.2 (Posted on )
用户参与
Stargazers Count8.2k
Watchers Count57
Fork Count371
Commits Count2k
Has Issues Enabled
Issues Count438
Issue Open Count0
Pull Requests Count143
Pull Requests Open Count1
Pull Requests Close Count104
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private