marked VS markdown-it

Compare marked vs markdown-it and see what are their differences.


A markdown parser and compiler. Built for speed. (by markedjs)


Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed (by markdown-it)
Our great sponsors
  • SurveyJS - Extensible JavaScript Form Builder Libraries
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • InfluxDB - Access the most powerful time series database as a service
  • Sonar - Write Clean JavaScript Code. Always.
marked markdown-it
43 47
29,376 15,125
0.9% 1.5%
9.6 6.1
5 days ago 26 days ago
JavaScript JavaScript
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of marked. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-05.


Posts with mentions or reviews of markdown-it. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-31.
  • How to convert markdown to json in react js
    2 projects | | 31 Dec 2022
    Maybe Markdown It? link
  • My Journey into Open Source
    3 projects | | 28 Dec 2022
    I have found that when you start working on just a single project, it will naturally lead to other opportunities (e.g. upstream libraries, similar projects, etc). When I started working on MarkBind, a static site generator, I was also making occasional contributions to some of the plugins for markdown-it, the Markdown parser that MarkBind uses. I was fixing bugs in MarkBind by discovering the root causes in the upstream libraries and pushing fixes there to hopefully benefit other projects as well. I even made a pull request to fix the documentation that I was reading on an MDN page for : The Table Body element, something that broke the server-side rendering of MarkBind.
  • Remembering how to make a website without React
    5 projects | | 28 Dec 2022
    Next, I setup a markdown parser, markdown-it. I then created another Mustache lambda for converting markdown to HTML and injecting it in the template output. I also ran the Markdown string through the Mustache parser, so I could use my “media” lambda inside markdown. This is where things got gross in the code.
  • Sweeter searches with Pagefind
    7 projects | | 8 Dec 2022
    In Eleventy, a footnote’s HTML begins like this if one is using the most typical footnotes-ready Markdown setup, i.e., the markdown-it parser combined with the markdown-it-footnote plugin:
  • Want to create attractive, interactive docs? Use these amazing documentation tools and examples
    11 projects | | 2 Dec 2022
    At its core it is an extension to the popular open-source Markdown library markdown-it. Plugins for markdown parsers and preprocesseors are an avenue for more innovation of this nature.
  • Rendering Markdown with Enhance
    3 projects | | 18 Nov 2022
    Enhance does not natively support rendering markdown into HTML, which is out of scope for the project. Instead, we rely on markdown-it, an excellent JavaScript markdown parser that is endlessly configurable with plugins. As we use markdown in many different projects, we’ve created a node module called, Arcdown, which packages together our preferred conventions for parsing markdown files.
  • DPS909 Blog - Lab 6: Full MD Support
    3 projects | | 25 Oct 2022
    I found a NPM library called markdown-it that parses all MD syntax into HTML. I thought this was a good module because it also supports plugins to extend it's functionality, so if I need additional features to be supported I can easily implement them.
  • Rendering markdown in Vue 3
    8 projects | | 15 Sep 2022
    Thankfully someone had already made a tool for this called markdown-it, otherwise you'd have to make your own parser which would be a pain.
  • Have Markdown lists be able to start at an arbitrary number
    2 projects | | 13 Aug 2022
  • Turn a Markdown blog to a simple SSG
    4 projects | | 30 Jul 2022
    Over the past few weeks, I mostly wrote on how to template a Node.js application with EJS using Express. Then, I wrote an article showing how to create a Markdown blog in Node.js using EJS, Express, gray-matter and markdown-it. Today, I'll combine those tutorials to turn the Markdown blog, from the last tutorial, into a simple SSG.

What are some alternatives?

When comparing marked and markdown-it you can also consider the following projects:

remark - remark is a popular tool that transforms markdown with plugins. These plugins can inspect and change your markup. You can use remark on the server, the client, CLIs, deno, etc.

PEG.js - PEG.js: Parser generator for JavaScript

js-yaml - JavaScript YAML parser and dumper. Very fast.

nearley - 📜🔜🌲 Simple, fast, powerful parser toolkit for JavaScript.

DOMPurify - DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:

Jison - Bison in JavaScript.

strip-json-comments - Strip comments from JSON. Lets you use comments in your JSON files!

Highlight.js - JavaScript syntax highlighter with language auto-detection and zero dependencies.

docx-to-pdf-on-AWS-Lambda - Microsoft Word doc/docx to PDF conversion on AWS Lambda using Node.js

parse-json - Parse JSON with more helpful errors