Опис
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.
Встановлення
- Upload
wp-math-2.tar.gz
to thewp-content/plugins
directory - 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.
Відгуки
Для цього плагіна немає відгуків.
Учасники та розробники
“WP-Math-2” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “WP-Math-2” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.