0.0.1 • Published 4 years ago

gatsby-theme-podcaster v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

gatsby-theme-podcaster

Add MDX Deck presentations to any Gatsby site

npm i gatsby-theme-podcaster
// gatsby-config.js
module.exports = {
  plugins: ["gatsby-theme-podcaster"],
};

Add one or more MDX presentation files to the decks/ directory. The filenames will be used for creating routes to each deck.

Example decks/hello.mdx

# Hello!

---

## Beep boop

Layouts

Individual slides can be wrapped with layout components, which work similarly to slide templates found in other presentation software.

Example decks/hello.mdx

import Layout from "./my-layout";

<Layout>

# Hello

</Layout>

---

## Beep boop

Configuration Options

The Gatsby theme accepts the following options.

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: "gatsby-theme-podcaster",
      options: {
        // enable or disable gatsby-plugin-mdx
        mdx: false,
        // source directory
        contentPath: "decks",
        // base path for routes generate by this theme
        basePath: "",
      },
    },
  ],
};

other project

gatsby-theme-simplecast

MIT License