JavaFX WebView load local Javascript file

后端 未结 1 803
既然无缘
既然无缘 2020-12-30 11:59

I am experimenting with the JavaFX WebView control and I want to use the MathJax Javascript library to render mathematical content.

As a test I have cre

相关标签:
1条回答
  • 2020-12-30 12:52

    Add the MathJax.js file to the same package/folder of Page.html then reference to it as

    <script type="text/javascript"
            src="MathJax.js?config=TeX-AMS-MML_HTMLorMML">
    </script>
    
    0 讨论(0)
提交回复
热议问题