Laskdou Posted November 17, 2017 Share Posted November 17, 2017 Добрый день, Подскажите, как внедрить KATEX в свой проект? Quote Link to comment Share on other sites More sharing options...
stas Posted November 17, 2017 Share Posted November 17, 2017 В принципе сложностей не вижу. Учитывая, что такой код работает <head> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0-alpha1/katex.min.css" integrity="sha384-8QOKbPtTFvh/lMY0qPVbXj9hDh+v8US0pD//FcoYFst2lCIf0BmT58+Heqj0IGyx" crossorigin="anonymous"> <script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0-alpha1/katex.min.js" integrity="sha384-GR8SEkOO1rBN/jnOcQDFcFmwXAevSLx7/Io9Ps1rkxWp983ZIuUGfxivlF/5f5eJ" crossorigin="anonymous"></script> </head> <body> <script> document.write(katex.renderToString("c = \\pm\\sqrt{a^2 + b^2}")); </script> </body> Попробуйте какому-нибудь Ext.Panel сделать update (katex.renderToString("c = \\pm\\sqrt{a^2 + b^2}")) Quote Link to comment Share on other sites More sharing options...
Laskdou Posted November 17, 2017 Author Share Posted November 17, 2017 Спасибо Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.