GithubHelp home page GithubHelp logo

Comments (3)

bighuang624 avatar bighuang624 commented on May 18, 2024

@AlexJJYY 我现在看 html 在线阅读是可以显示的。你看到无法正常显示的原因大概率是网络问题导致 MathJax 的 javascript 脚本没有加载出来。

unnamed

from andrew-ng-deep-learning-notes.

bighuang624 avatar bighuang624 commented on May 18, 2024

@AlexJJYY 至于在 markdown 文件中,github 没办法把公式显示为正确的样子。如果确实在网络比较稳定时公式仍然无法加载,可以尝试以下方法:将整个项目 clone 下来,在你想阅读的 markdown 文件的最后加上这几行代码:

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  tex2jax: {inlineMath: [ ['$', '$'] ],
        displayMath: [ ['$$', '$$']]}
});
</script>

<script type="text/javascript" src="https://cdn.bootcss.com/mathjax/2.7.2/MathJax.js?config=default"></script>

其中,https://cdn.bootcss.com/mathjax/2.7.2/MathJax.js?config=default可以换成任何你可以加载的 MathJax.js 的 cdn,或者改成本地放置 MathJax.js 脚本的路径。这样,该 markdown 文件的公式应该可以在 MacDown 等专业 markdown 编辑器中正确显示。

from andrew-ng-deep-learning-notes.

AlexJJYY avatar AlexJJYY commented on May 18, 2024

@AlexJJYY 我现在看 html 在线阅读是可以显示的。你看到无法正常显示的原因大概率是网络问题导致 MathJax 的 javascript 脚本没有加载出来。

unnamed

感谢感谢,已经解决,应该是网络问题!

from andrew-ng-deep-learning-notes.

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.