diff --git a/packages/content/markdown/posts/test post.md b/packages/content/markdown/posts/test post.md index 2c89b2d..72f4bcb 100644 --- a/packages/content/markdown/posts/test post.md +++ b/packages/content/markdown/posts/test post.md @@ -161,7 +161,8 @@ $e=mc^2$ is actually $e^2=(mc^2)^2 + (pc)^2$. ### Block $$ - \ce{6 CO2 + 6 H2O <=>[{photosynthesis}][{respiration}] C6H12O6 + 6 O2} + \text{The formula for normal distribution is} \space + f(x)=\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{1}{2}(\frac{x-\mu}{\sigma})^2} $$ ## headers diff --git a/packages/content/src/parseMarkdown.ts b/packages/content/src/parseMarkdown.ts index bbbf309..78558d3 100644 --- a/packages/content/src/parseMarkdown.ts +++ b/packages/content/src/parseMarkdown.ts @@ -1,5 +1,3 @@ -import "katex/contrib/mhchem" // chemical formula, https://katex.org/docs/node.html#using-mhchem-extension - import remarkCalloutDirectives from "@microflash/remark-callout-directives" import matter from "gray-matter" import { JSDOM } from "jsdom"