gatsby-theme-journal VS gray-matter

Compare gatsby-theme-journal vs gray-matter and see what are their differences.

gatsby-theme-journal

時光荏苒,於此貯存 - A gatsby journal theme, record the moments ... (by Ahacad)

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 (by jonschlinkert)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
gatsby-theme-journal gray-matter
1 17
2 3,762
- -
3.2 1.2
over 2 years ago 6 days ago
JavaScript JavaScript
- 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.

gatsby-theme-journal

Posts with mentions or reviews of gatsby-theme-journal. We have used some of these posts to build our list of alternatives and similar projects.
  • I created a new blog theme: gatsby-theme-journal
    1 project | /r/gatsbyjs | 19 Dec 2021
    Hey guys, I got to rewrite my blog and gave gatsby a try, check it out: https://github.com/Ahacad/gatsby-theme-journal. More features will be added in the coming weeks. It's my first time to write a website in gatsby, any suggestion is welcome. :)

gray-matter

Posts with mentions or reviews of gray-matter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-05.
  • Building a flat-file CMS with Angular
    3 projects | dev.to | 5 Mar 2024
    Writing in markdown is super convenient, and supported by just about any text editor. To convert these .md files to browser-ready HTML, I wrote a simple little Node.js script using two great npm packages called gray-matter and showdown.
  • Eleventy vs. Next.js for static site generation
    4 projects | dev.to | 14 Dec 2023
    Next, install gray-matter to extract metadata from the front matter of markdown files, and marked to convert the markdown files to HTML:
  • Exploring the code behind Docusaurus
    4 projects | dev.to | 30 Oct 2023
    It turns out that Docusaurus uses an open source JavaScript parser called gray-matter to parse the front matter from markdown files! After installing gray-matter using npm and them importing it into the markdownUtils.ts file, all it takes is calling the matter method and passing the markdown file contents to get returned an Object with data and content (the data being the front matter and the content being the rest of the markdown file contents).
  • Create an Interactive Table of Contents for a Next.js Blog with Remark
    5 projects | dev.to | 21 Apr 2023
    Although we are building a custom table of contents, we won't have to write everything from scratch. To separate the Markdown/MDX content from the front matter, we'll use the Gray-matter package. It is optional in case you don't have front matter in your Markdown files. To process the Markdown itself, we'll use the Remark package. We'll also need the unist-util-visit package for traversing node trees and mdast-util-to-string for getting the text content of a node.
  • Create your own blog with MDX and NextJS
    2 projects | dev.to | 5 Dec 2022
    In this article we walk you through the process of creating a simple blog app using the popular React framework NextJS, gray-matter and next-mdx-remote.
  • NextJS 13 Blog Starter
    6 projects | dev.to | 14 Nov 2022
    In order to get post information (such as author, title, date, etc.) from our HTML without having them be apart of our rendered post we need a way to parse YAML front matter, this is where gray-matter comes in hand.
  • Loading local markdown blog posts - part 12
    1 project | dev.to | 18 Oct 2022
    To do this, we use the matter npm package.
  • Create a Markdown Editor with Rust and React
    12 projects | dev.to | 13 Oct 2022
    It’s actually not part of the CommonMark spec, so you’ll often need a 3rd party library to parse it out on top of your Markdown parser. In JavaScript we use gray-matter which converts frontmatter into a JS object we can more easily use.
  • Turn a Markdown blog to a simple SSG
    4 projects | dev.to | 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.
  • Markdown blog with EJS
    3 projects | dev.to | 25 Jul 2022
    gray-matter, to parse the front matter from the Markdown files

What are some alternatives?

When comparing gatsby-theme-journal and gray-matter you can also consider the following projects:

docz-theme-extended - Extended default theme for docz with added components and redesigned UI.

front-matter - Extract YAML front matter from strings

mdx-deck - ♠️ React MDX-based presentation decks

react-markdown - Markdown component for React

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

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

docsify - 🃏 A magical documentation site generator.

next-markdown-blog - A lightly opinionated, full-featured Next.js blog managed through Git Workflows with markdown files.

next-markdown-blog

Assemble - Get the rocks out of your socks! Assemble makes you fast at web development! Used by thousands of projects for rapid prototyping, themes, scaffolds, boilerplates, e-books, UI components, API documentation, blogs, building websites/static site generator, an alternative to Jekyll for gh-pages and more! Gulp- and grunt-friendly.

Metalsmith - An extremely simple, pluggable static site generator for Node.js

Charge - ⚡️ An opinionated, zero-config static site generator.