Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数学公式latex展示失败 #620

Open
pookasa opened this issue Nov 20, 2024 · 0 comments
Open

数学公式latex展示失败 #620

pookasa opened this issue Nov 20, 2024 · 0 comments

Comments

@pookasa
Copy link

pookasa commented Nov 20, 2024

		<mp-html :content="htmlContent" :tag-style="tagStyle" />
		<mp-html :content="str" />
		<mp-html :content="question"  />

const htmlContent = ref(`<div class="custom-container">
已知$ x = {-b \pm \sqrt{b^2-4ac} \over 2a \in} ,求\lim_{x \to \infty} \cfrac{1}{a} =c $</div>`)

const str = String.raw已知$ x = {-b \pm \sqrt{b^2-4ac} \over 2a \in} ,求\lim_{x \to \infty} \cfrac{1}{a} =c $
const question = String.raw已知$ x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a \\in} ,求\\lim_{x \\to \\infty} \\cfrac{1}{a}=c $

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant