Code Monkey home page Code Monkey logo

Comments (5)

imzbf avatar imzbf commented on September 26, 2024

你确定你的内容是下面这样?复制到示例页面和预期的一样

$$\sqrt[3]{x}$$
image

from md-editor-v3.

HDP2017 avatar HDP2017 commented on September 26, 2024

我的代码基本上就简单的搞了个示例,如下图
image

排查了很久,一直不知道哪里出了问题,我在您的示例里面也是能显示出来预期公式的,但是放到我的代码里就不行。

from md-editor-v3.

HDP2017 avatar HDP2017 commented on September 26, 2024

如果是不包含sqrt,sum或者frac之类的函数,显示就正常,这些函数会渲染不出来,在dom里面渲染成了这种mathnormal的块
image
而不是像您官网示例里面的sqrt块
image

from md-editor-v3.

imzbf avatar imzbf commented on September 26, 2024

你的tttttt内容被转义了,\s,直接写到明文串中应该是\\s

from md-editor-v3.

HDP2017 avatar HDP2017 commented on September 26, 2024

感谢感谢,我刚刚测试了一下,直接用后端拿到的字符串也没有问题,本来还想着写方法将单反斜杠搞成双反斜杠,目前看应该是不用了,再次感谢

from md-editor-v3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.