mdx-js / mdx

Markdown for the component era
https://mdxjs.com
MIT License
17.76k stars 1.14k forks source link

The guide at https://mdxjs.com/guides/math/ does not work #2341

Closed B1RO closed 1 year ago

B1RO commented 1 year ago

Initial checklist

Affected packages and versions

.

Link to runnable example

No response

Steps to reproduce

Follow the guide in a mdx environment

Expected behavior

Math should be properly rendered

Actual behavior

The css file does not get loaded and math does not work. This is because the css file linked in the guide is obsolete/out of date. It'd be better if the part of the guide that explains the css part was modified. I think you should remove the link to the css file, and link to katex page, so that user gets an up-to-date link. Every time I create a mdx project I forget this quirk with the docs and spend 20 minutes debugging the issues.

Runtime

No response

Package manager

No response

OS

No response

Build and bundle tools

No response

wooorm commented 1 year ago

it’s open source! you can make a pr to help other folks!