← Winnitude! Search  ·  Reader Mode (643 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 80 LINKS

GitHub - markdown-it/markdown-it: Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

Repository navigation

markdown-it
Public

About

Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

markdown-it.github.io

Topics

commonmark javascript markdown

Resources

Readme MIT license

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

22.1k stars

Watchers

178 watching

Forks

1.9k forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


1,261 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.github .github    
benchmark benchmark    
bin bin    
docs docs    
src src    
support support    
test test    
.editorconfig .editorconfig    
.gitattributes .gitattributes    
.gitignore .gitignore    
CHANGELOG.md CHANGELOG.md    
CONTRIBUTING.md CONTRIBUTING.md    
LICENSE LICENSE    
README.md README.md    
eslint.config.mjs eslint.config.mjs    
package-lock.json package-lock.json    
package.json package.json    
tsconfig.json tsconfig.json    
typedoc.config.mjs typedoc.config.mjs    

Repository files navigation

markdown-it

Markdown parser done right. Fast and easy to extend.

Live demo

  • Follows the CommonMark spec + adds syntax extensions & sugar (URL autolinking, typographer).
  • Configurable syntax! You can add new rules and even replace existing ones.
  • High speed.
  • Safe by default.
  • Community-written plugins and other packages on npm.

Note

If you are upgrading to v15, see the migration guide .

Documentation >>

Install (node.js):
npm install markdown-it

For a quick look at dist/ folder contents, see https://unpkg.com/markdown-it/ . For browser you can use unpkg.com, esm.sh or any other CDN, which mirror npm registry.

Usage
import MarkdownIt from 'markdown-it'
const md = new MarkdownIt()
const result = md.render('# markdown-it rulezz!')

More usage examples .

About

Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed

markdown-it.github.io

Topics

commonmark javascript markdown

Resources

Readme MIT license

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

22.1k stars

Watchers

178 watching

Forks

1.9k forks Report repository

Sponsor this project

Used by

Contributors

Languages