Skip to content

数学公式latex展示失败 #620

@pookasa

Description

@pookasa
		<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 $

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions