Apraksts
WP-Math-2 can help you insert math formula into WordPress posts or comments. You can use $$...$$(block, only one math expression per line) and $...$(inline, around the text) to insert math. This plugin will render them to HTML or MathML code snippets(Depends on your browser. If your browser supports MathML, it will use MathML, otherwise, use HTML and CSS instead). This work is done by javascript. So your browser must enable JavaScript.
But in most of RSS readers, any JavaScript snippets cannot execute. So I made a trick. WP-Math-2 will convert LaTeX text to images. So users can see math contents with their favorite RSS reader software.
Uzstādīšana
- Upload
wp-math-2.tar.gzto thewp-content/pluginsdirectory - Active the plugin in WordPress ‘Plugins’ menu
Also, you may want to change the height of inline math formula. Open wp-math-2.php and find
define('MATH_IMG_INLINE_HEIGHT', '20');
The default height is ’20’ pixels. You can change it into a proper value.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“WP-Math-2” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “WP-Math-2” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.