Custom syntax to parse subscript and superscript. Rehype compatible (using <sub>
and <sup>
). Using remark-sub-super
npm install --save gatsby-remark-sub-sup
In your gatsby-config.js
plugins: [
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
"gatsby-remark-sub-sup"
],
},
},
];