• Resolved rpf5573

    (@rpf5573)


    Hello! your plugin works well in default theme.
    But, not work in my custom theme.
    So, I opened your plugin file, and read.
    But, I can’t find any css or js file that make math tag rendered in front end!
    How did you do?

    without
    https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=MML_HTMLorMML
    this js file???

    Check please!

    • This topic was modified 6 years, 8 months ago by rpf5573.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author modalweb

    (@modalweb)

    Hi @rpf5573

    Plugin is using latex codecogs and wiris, they are third party apis which loads iframe with equation symbols, you can select and it will automatically generate code images.

    Thanks
    Modalweb

    Thread Starter rpf5573

    (@rpf5573)

    I know that I can add latex codecogs and wiris in admin page and it generate image of mathematical symbol. But What I’m wondering of is that do browser render this code ?
    <math xmlns="https://www.w3.org/1998/Math/MathML"><msqrt><mn>123123</mn></msqrt></math> without any 3party js code?
    There are no image tag in post_content in DataBase. Only that code.

    If I add this code in html head https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=MML_HTMLorMML then, browser render that math code…

    How did you make browser render that math code without 3party js or css code?

    Check please!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How your plugin works?’ is closed to new replies.