Following the guide at using-remark.gatsbyjs.org/custom-components , I have been able to implement custom components I use throughout my Gatsby site.
Most components include injecting inner content within (eg. render() { return (<div>{this.props.children}</div>) }, but I notice that only HTML appears to be supported within, not Markdown.
For example, inner content must include full HTML tags like <h1>Title</h1> rather than Markdown's #Title.
Is it possible to support parsing the Markdown prior rendering the component? Or should I be using components and my templates differently?
No responses yet.