Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pittica/gatsby-plugin-mdx-shortcodes
Shorcodes for gatsby-plugin-mdx.
https://github.com/pittica/gatsby-plugin-mdx-shortcodes
gatsby gatsby-plugin gatsbyjs mdx pittica
Last synced: about 2 months ago
JSON representation
Shorcodes for gatsby-plugin-mdx.
- Host: GitHub
- URL: https://github.com/pittica/gatsby-plugin-mdx-shortcodes
- Owner: pittica
- License: mit
- Created: 2021-08-17T13:18:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-31T09:07:15.000Z (almost 3 years ago)
- Last Synced: 2024-11-14T16:18:43.087Z (about 2 months ago)
- Topics: gatsby, gatsby-plugin, gatsbyjs, mdx, pittica
- Language: JavaScript
- Size: 1.02 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pittica/gatsby-plugin-mdx-shortcodes
![License](https://img.shields.io/github/license/pittica/gatsby-plugin-mdx-shortcodes)
![Version](https://img.shields.io/github/package-json/v/pittica/gatsby-plugin-mdx-shortcodes)
![Release](https://img.shields.io/github/v/release/pittica/gatsby-plugin-mdx-shortcodes)
![GitHub package.json dependency version (dev dep on branch)](https://img.shields.io/github/package-json/dependency-version/pittica/gatsby-plugin-mdx-shortcodes/react)## Description
Shorcodes for gatsby-plugin-mdx.
## Install
[![npm](https://img.shields.io/npm/v/@pittica/gatsby-plugin-mdx-shortcodes)](https://www.npmjs.com/package/@pittica/gatsby-plugin-mdx-shortcodes)
[![npm](https://img.shields.io/npm/dm/@pittica/gatsby-plugin-mdx-shortcodes)](https://www.npmjs.com/package/@pittica/gatsby-plugin-mdx-shortcodes)```shell
npm install @pittica/gatsby-plugin-mdx-shortcodes
```## Usage
The plugin provides basic MDX shortcodes.
Edit your **gatsby-browser.js**.
```javascript
import React from "react"
import Shortcodes from "@pittica/gatsby-plugin-mdx-shortcodes"
import { MDXProvider } from "@mdx-js/react"const wrapRootElement = ({ element }) => (
{element}
)export { wrapRootElement }
```## Notes
Built for internal use.
## Copyright
(c) 2021, [Pittica S.r.l.](https://pittica.com)