定制 terrylinooo/wp-mathjax 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

terrylinooo/wp-mathjax

Composer 安装命令:

composer require terrylinooo/wp-mathjax

包简介

Render your MathJax TeX syntax on WordPress.

README 文档

README

WP Mathjax displays mathematical notation in web browsers, using MathML, LaTeX and ASCIIMathML markup on WordPress by using MathJax.js.

Download

source download
WordPress https://wordpress.org/plugins/wp-mathjax-plus
GitHub repository https://github.com/terrylinooo/wp-mathjax/releases
PHP Composer composer create-project terrylinooo/wp-mathjax wp-mathjax

Installation

  1. Upload the plugin files to the /wp-content/plugins/wp-mathjax directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to the WP mathjax menu in Settings and set your options.

How to use

WP Mathjax is smart enough that loads mathjax.js only when your posts contain mathjax syntax, by detecting the use of shortcode and block. So it will not be loaded on your website everywhere.

Shortcode

In classic editor, you can use the shortcode to render your mathjax syntax. If you are using WordPress version below 5.0, this is the only way you can use this feature.

[mathjax]
x = {-b \pm \sqrt{b^2-4ac} \over 2a}.
[/mathjax]

Gutenberg Block

Choose a mathjax block:

Fill in your mathjax syntax in the editor.

Changelog

  • 1.0.0

    • First release.
  • 1.0.1

    • Test up to PHP 8.2.5 and WordPress 6.2.2
    • Add Japanese translation, thanks to Colocal.
    • Upgrade MathJax.js from 2.7.8 to 2.7.9

License

WP Mathjax is developed by Terry Lin and released under the terms of the GNU General Public License v3.

Also See

If you are looking for a Markdown editor supporting mathjax, you can also check out my another WordPress plugin called the WP Githuber MD, which provides a variety of features not just mathjax, it is worth to try.

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2020-05-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固