From 2b51bbb80efdbf1aaea390eccded7f4e806bd95e Mon Sep 17 00:00:00 2001 From: Dylan Hu Date: Thu, 9 Feb 2023 22:32:03 -0500 Subject: [PATCH] apply fix from https://github.com/remarkjs/remark-math/issues/80 --- packages/rehype-mathjax/lib/create-plugin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/rehype-mathjax/lib/create-plugin.js b/packages/rehype-mathjax/lib/create-plugin.js index 0ac2e1a..547bf35 100644 --- a/packages/rehype-mathjax/lib/create-plugin.js +++ b/packages/rehype-mathjax/lib/create-plugin.js @@ -110,8 +110,8 @@ export function createPlugin(createRenderer) { return SKIP }) - if (found && renderer.styleSheet) { - context.children.push(renderer.styleSheet()) - } + // if (found && renderer.styleSheet) { + // context.children.push(renderer.styleSheet()) + // } } }