# gatsby-theme-deck-n-blog

> You write the MDX for your [mdx-deck](https://github.com/jxnblk/mdx-deck)s, and this Gatsby theme creates the deck and the blog post for you.

Latest version **0.0.1** (published 2019-07-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install gatsby-theme-deck-n-blog
pnpm add gatsby-theme-deck-n-blog
yarn add gatsby-theme-deck-n-blog
bun add gatsby-theme-deck-n-blog
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2019-07-30 |
| First published | 2019-07-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 13.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 86 |
| Author | Rodrigo Pombo |
| Maintainers | pomber |
| Keywords | gatsby, gatsby-theme, gatsby-plugin |

## Links

- npm: https://www.npmjs.com/package/gatsby-theme-deck-n-blog
- Repository: https://github.com/jlengstorf/gatsby-theme-jam-example
- Homepage: https://github.com/jlengstorf/gatsby-theme-jam-example#readme
- Issues: https://github.com/jlengstorf/gatsby-theme-jam-example/issues
- npm.io page: https://npm.io/package/gatsby-theme-deck-n-blog

## Dependencies (6)

- [deepmerge](https://npm.io/package/deepmerge.md) ^4.0.0
- [@emotion/core](https://npm.io/package/@emotion/core.md) ^10.0.14
- [@mdx-js/react](https://npm.io/package/@mdx-js/react.md) ^1.0.21
- [gatsby-theme-blog](https://npm.io/package/gatsby-theme-blog.md) ^1.0.2
- [gatsby-theme-waves](https://npm.io/package/gatsby-theme-waves.md) ^0.0.5
- [gatsby-theme-mdx-deck](https://npm.io/package/gatsby-theme-mdx-deck.md) ^3.0.8

## Recent versions

- 0.0.1 (latest) — 2019-07-30

## README

# Deck 'n' Blog

You write the MDX for your [mdx-deck](https://github.com/jxnblk/mdx-deck)s, and this Gatsby theme creates the deck and the blog post for you.

## Installation

To use this theme in your Gatsby sites, follow these instructions:

0. Init your Gatsby site (skip this if you already have a site)

   ```sh
   npx gatsby new my-gatsby-site https://github.com/gatsbyjs/gatsby-starter-default
   cd my-gatsby-site
   ```

1. Install the theme

   ```sh
   npm install --save gatsby-theme-deck-n-blog
   ```

1. Add the theme to your `gatsby-config.js`:

   ```js
   module.exports = {
     plugins: ["gatsby-theme-deck-n-blog"],
   }
   ```

1. Create a deck in `decks/my-deck.mdx`

   ```md
   ---
   title: The Restaurant
   date: 1980-10-12
   ---

   import { Intro, Content } from "gatsby-theme-deck-n-blog"

   <Intro>

   This will only appear in the blog post as an intro an as the excerpt.

   </Intro>

   # Slide 1

   <Content>

   This will appear in the blog post together with the slide 1

   </Content>

   ---

   # Slide 2

   <Content>

   This will appear in the blog post together with the slide 2

   </Content>
   ```

1. Start your site

   ```sh
   npm run start
   ```

---
_Source: https://npm.io/package/gatsby-theme-deck-n-blog · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
