front-matter VS marked

Compare front-matter vs marked and see what are their differences.

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
front-matter marked
4 71
686 35,020
0.0% 0.7%
0.0 9.3
almost 2 years ago 9 days ago
JavaScript TypeScript
MIT License GNU General Public License v3.0 or later
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.

front-matter

Posts with mentions or reviews of front-matter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-16.

marked

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 2025-06-04.
  • Apple Notes Expected to Gain Markdown Support in iOS 26
    3 projects | news.ycombinator.com | 4 Jun 2025
    it is trivially easy to create your own with libraries like this [0] (34k stars) or this one [1] (444 stars).

    0: https://github.com/markedjs/marked

  • Building PicoSSG: 'Just Enough Code'
    7 projects | dev.to | 16 May 2025
    ADR-003 documented the choice of markdown-it over alternatives like marked, based on careful evaluation of edge cases and built-in features like URL linking.
  • How to convert Markdown to PDF
    2 projects | dev.to | 23 Feb 2025
    Another option is to go with a purpose-built tool, like SlickPDF. I built slickpdf.com for the very purpose of going from Markdown to PDF. Give it a try!. It uses marked.js under the hood, and presents a live preview rendered on a Letter-size (8.5 in. x 11 in.) page.
  • Build your next AI Tech Startup with DeepSeek
    6 projects | dev.to | 3 Feb 2025
    If you are trying to render this in the browser, we can use the marked library in order to convert the markdown into HTML code.
  • Astro & Strapi Website Tutorial: Part 3 - Project Build
    2 projects | dev.to | 10 Dec 2024
    The first step is to install marked. This is a markedown parser that will convert our markdown content into HTML. Run the command below to install marked.
  • Day 5: For all blogging matters ✍️
    1 project | dev.to | 4 Dec 2024
    I'm using @std/front-matter package along with marked as my blog runs on Deno, but FM would work with anything that has markdown files in folders.
  • The Final Stretch of My Open Source Journey: Part 2
    3 projects | dev.to | 29 Nov 2024
    To tackle this, I created an issue detailing my planned approach. I intended to use Marked to conditionally render certain markdown elements into HTML. After diving deep into Marked's documentation, I discovered this was indeed possible - you can simply disable the elements you don't want to render into HTML!
  • Open Source Contribution: Round 2
    7 projects | dev.to | 12 Nov 2024
    Now that I knew what I knew, it was time to start. Before I even began to consider how to solve this, I knew how these large projects feel about dependencies, so I went to the package.json file to check and see if there were things that I could work with. And what do you know? highlight.js was already included! What I immediately thought of was perhaps using the marked parser in addition to highlight.js to create and use my code blocks. But after quite a lot of time attempting this, I realized that hand-rolling this solution would not only take a lot of time but would also require a lot of code.
  • How to build a blog with NodeJS
    8 projects | dev.to | 31 Oct 2024
    We'll start by initializing a Node project inside a chosen folder (nodejs-blog for me) with and installing a couple of dependencies that I feel like will make our lives easier, like Express, EJS, Marked, the good ol' body-parser and gray-matter.
  • Interactive Components in Markdown
    1 project | dev.to | 27 Oct 2024
    Blog posts, as you've already noticed, are markdown files with attributes which are converted to static HTML on build using Marked and Front Matter.

What are some alternatives?

When comparing front-matter and marked you can also consider the following projects:

gray-matter - Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, vuejs vitepress, TinaCMS, Shopify Polaris, Ant Design, Astro, hashicorp, garden, slidev, saber, sourcegraph, and many others. Simple to use, and battle tested. Parses YAML by default but can also parse JSON Front Matter, Coffee Front Matter, TOML Front Matter, and has support for custom parsers. Please follow gray-matter's author: https://github.com/jonschlinkert

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

docsify - 🃏 A magical documentation site generator.

remark - markdown processor powered by plugins part of the @unifiedjs collective

Phenomic

fast-xml-parser - Validate XML, Parse XML and Build XML rapidly without C/C++ based libraries and no callback.

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?