Skip to content

rwieruch/gatsby-mdx-blog-starter-project

Repository files navigation

Gatsby.js MDX Blog Starter Project

A starter project in Gatsby.js with MDX to render React components in Markdown. Used by:

Features

  • MDX: JavaScript/React in Markdown
    • see /content/blog/mdx-example
  • Prism.js: Syntax Highlighting
  • Pagination
  • Categories
  • External Dependencies (e.g. YouTube Player in MDX)

Setup

  • git clone git@github.com:rwieruch/gatsby-mdx-blog-starter-project.git
  • cd gatsby-mdx-blog-starter-project
  • npm install
  • gatsby develop
  • visit http://localhost:8000

Setup via Gatsby CLI

  • gatsby new gatsby-mdx-blog-starter-project git@github.com:rwieruch/gatsby-mdx-blog-starter-project.git
  • cd gatsby-mdx-blog-starter-project
  • npm install
  • gatsby develop
  • visit http://localhost:8000