Lesson
Create a Blog Post Template for Gatsby v1
In order to display the generated HTML from a Markdown post, we will build a GraphQL query and pass its data into a Template component that makes use of React’s dangerouslySetInnerHTML DOM element.
- Duration
- 1 min
- Access
- Free
- Transcript
- Needs source
In order to display the generated HTML from a Markdown post, we will build a GraphQL query and pass its data into a Template component that makes use of React’s dangerouslySetInnerHTML DOM element.