Latex Equations in Contentful

Hello. I am new to Contentful and I am wondering how to use latex equations in Contentful. I wanted to use the Gatsby-source-contentful plugin to render those equation to the webpage but I am not able to enter equations into the Contentful editor.

Hi @sharansajivmenon! Welcome!

You can use a JS based latex equation editor inside a UI Extension to enable content editors to have an easy to use equation editor when inputting the equations and store the raw latex in a long text field. Then when Gatsby gets the entry you can use a latex renderer to transform the raw latex into a human readable equation.

Check out the documentation on UI extensions for more details and examples.

1 Like