Milkdown / milkdown

🍼 Plugin driven WYSIWYG markdown editor framework.
https://milkdown.dev
MIT License
8.94k stars 405 forks source link

[Bug]The mathematical formula does not support label display #1444

Open Ajianxian opened 3 months ago

Ajianxian commented 3 months ago

Initial checklist

Affected packages and versions

The latest online environment

Link to runnable example

No response

Steps to reproduce

  1. Copy and paste the following text into the online demo environment $$ \sigma{\text{ pe+}}\sigma{\text{ p}}\leq 0.7f_{\text{pk}}\tag{A.0.2-3} $$
  2. The formula fails to parse

Expected behavior

image

Actual behavior

image

Runtime

Chrome

OS

Windows

Build and bundle tools

Webpack

quank123wip commented 3 months ago

Looks like the update of code blocks breaks the math rendering, triage needed