micromark

markdown parser under @unifiedjs that’s different

Github星跟蹤圖

Sponsors

What’s micromark

Something like remark (Markdown processor powered by plugins based on
unified), but on a lower level: a lexer (in nerdy terms ?).
Syntax trees have many good things, but they do come with the downside of
having a big memory footprint and sometimes being more than what you need.

We’re launching micromark as just an idea.
The first line of code still needs to be written.
But we imagine it to be
:

  • small in file size, max 10 kB minzipped, and tiny in memory use
  • fast in speed, compared to existing parsers on real world documents
  • safe to use, it should safely work on untrusted content by default
  • compliant to CommonMark but extensible for GFM (GitHub Flavored
    Markdown), MDX, etc.
  • complete, in that it should give access to all info in the source
    document

But it’s not:

  • something that creates HTML and the like: other projects use micromark for
    that
  • something that creates a syntax tree: remark will use it to do just that

How it’ll be used

micromark is part of the unified collective.
But it will likely not be something you’d directly interact with, unless
you’re interested in working on parsers,.
It will make high-level tooling better.

Evolving unified shouldn’t just be about new high-level features but also about
rethinking core mechanisms.
That’s where micromark comes in, so unified can build the most friendly,
secure, fast, and extensive bridges between content formats.

Contribute

See contributing.md in micromark/.github for ways
to get started.
See support.md for ways to get help.

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

主要指標

概覽
名稱與所有者micromark/micromark
主編程語言JavaScript
編程語言JavaScript (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2018-11-13 17:34:37
推送於2025-04-02 14:02:48
最后一次提交
發布數120
最新版本名稱4.0.2 (發布於 )
第一版名稱2.0.0 (發布於 )
用户参与
星數1.9k
關注者數13
派生數71
提交數655
已啟用問題?
問題數58
打開的問題數2
拉請求數40
打開的拉請求數2
關閉的拉請求數13
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?