Git Product home page Git Product logo

Comments (5)

bytetopia avatar bytetopia commented on May 29, 2024 2

我解决此问题的方法是在 template/article.ejs中, head标签里加入下面这段,就可以渲染公式啦

   <script type="text/javascript"
      src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
    </script>
    <script type="text/x-mathjax-config">
    MathJax.Hub.Config({messageStyle:"none",tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
    </script>

(js用了在线cdn应该需要联网)
不太了解更多,就不提PR了,待作者修复,这里只贴下我的解决办法hhhhh

from geektime2pdf.

zhangzheflying avatar zhangzheflying commented on May 29, 2024

强烈希望本项目关注下 ”公式转换“的问题🐶🐶🐶

from geektime2pdf.

jjeejj avatar jjeejj commented on May 29, 2024

@bytetopia 欢迎提 PR

from geektime2pdf.

lsj210001 avatar lsj210001 commented on May 29, 2024

解决了,感谢 @bytetopia

from geektime2pdf.

zhangzheflying avatar zhangzheflying commented on May 29, 2024

❤️

from geektime2pdf.

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.