markdown-it

(★ 21,833)

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

File Explorer

  • .editorconfig
  • .gitattributes
  • .gitignore
  • CHANGELOG.md
  • CONTRIBUTING.md
  • eslint.config.mjs
  • LICENSE
  • package-lock.json
  • package.json
  • README.md
  • tsconfig.json
  • typedoc.config.mjs

# Installation Guide

node
Prerequisites

Setup Steps

npm install

Install the project dependencies.

npm test

Run the project test suite.

Key Commands

npm install

Install project dependencies specified in package.json.

npm test

Run tests to verify the parser implementation.

If using as a library, install the package via npm install markdown-it.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

npm install

View Details ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

# Project Badges

// repository documentation