front-matter
marked

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 |
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
-
Creating an SSG (Static Site Generation) Application with Strapi Webhooks and NextJs
To set our metadata dynamically, we also imported the front-matter dependency.
-
Label automation at your fingertips
front-matter parser
- Why I built my own static site generator
-
Making a Markdown Editor for Your Vue Blog with Front Matter Support
What we want is for our editor to take the combination of front-matter data and markup, then be able to extract the two before storing that data separately somewhere. We'll be using the front-matter module to extract the data we need from the text editor content.
marked
-
Apple Notes Expected to Gain Markdown Support in iOS 26
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'
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
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
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
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 ✍️
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
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
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
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
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?
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.
