在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):zzish/react-latex开源软件地址(OpenSource Url):https://github.com/zzish/react-latex开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):react-latex
Install$ npm install --save react-latex UsageIn javascript Before using LatexInclude in your html Katex CSS <html>
<head>
<link
href="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css"
rel="stylesheet"
/>
</head>
</html> Inline Latexvar Latex = require('react-latex');
...
render(){
return (
<h3>
<Latex>What is $(3\times 4) \div (5-3)$</Latex>
</h3>
);
}
... Block Latexvar Latex = require('react-latex');
...
render(){
return (
<h3>
<Latex displayMode={true}>$$(3\times 4) \div (5-3)$$</Latex>
</h3>
);
}
... Options for KatexA number of options are now supported. For a comprehensive list please visit: here LicenseMIT © Zzish |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论