Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews authored Feb 10, 2018
1 parent f8f52ba commit c9d6985
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ What if you want custom UI interactions embedded in your Markdown?

By using `rehype-react` with the `htmlAst` field, you can write custom React components and then reference them from your Markdown files.

*Note: this functionality was added in version 1.7.31 of gatsby-transformer-remark*

## Writing a component

Write the component the way you normally would. For example, here's a simple "Counter" component:
Expand Down

0 comments on commit c9d6985

Please sign in to comment.