Chronoblog / gatsby-theme-chronoblog

⏳ Chronoblog is a Gatsbyjs theme specifically designed to create a personal website. The main idea of ​​Chronoblog is to allow you not only to write a personal blog but also to keep a record of everything important that you have done.
https://chronoblog.now.sh
MIT License
130 stars 26 forks source link

Adding LaTeX using gatsby-transformer-remark doesn't work #16

Open stanstarks opened 4 years ago

stanstarks commented 4 years ago

Hi I am trying to add latex support. I have tried both mathjax and katex plugin. It seem that gatsby-transformer-remark does not take place.

The situation is similar to this issue.

ganevdev commented 4 years ago

Hi. I don’t know how to do it right. I prefer to see how they solve this problem in the Novela project.

sigstart commented 4 years ago

Taking a stab in the dark here, but could this be because Chronoblog uses the MDX plugin and not the Remark transformer?

In other words the gatsby-remark-katex plugin has to be added to the gatsbyRemarkPlugins section under the options of resolve: 'gatsby-plugin-mdx', in the gatsby-config.js file.