Skip to content

Commit

Permalink
fix(docs): update programmatically-creating-pages.md add missing shor…
Browse files Browse the repository at this point in the history
…tcodes (#23157)

* fix add missing shortcodes

* fix for lint/prettier
  • Loading branch information
muescha authored Apr 16, 2020
1 parent a20d255 commit 85f6d24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/mdx/programmatically-creating-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ import { MDXProvider } from "@mdx-js/react"
import { MDXRenderer } from "gatsby-plugin-mdx"
import { Link } from "gatsby"

const shortcodes = { Link } // Provide common components here

export default function PageTemplate({ data: { mdx } }) {
return (
<div>
Expand Down

0 comments on commit 85f6d24

Please sign in to comment.