承接 zephyrisle/latex-pro 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

zephyrisle/latex-pro

最新稳定版本:v2.0.0

Composer 安装命令:

composer require zephyrisle/latex-pro

包简介

TeX math rendering for your Flarum forum.

README 文档

README

MIT license

TeX math rendering for your Flarum forum, powered by KaTeX.

Forked from the-turk/flarum-mathren and adapted for Flarum v2.0.

Features

  • KaTeX-based rendering (fast and accurate)
  • Inline expressions: [imath]...[/imath] or $...$
  • Block expressions: [math]...[/math] or $$...$$
  • AsciiMath syntax support (optional)
  • Compatible with Markdown and BBCode
  • Copy-to-clipboard for rendered expressions
  • Quote button integration with flarum/mentions
  • Text editor toolbar buttons
  • Live preview support
  • Fully configurable via admin panel (delimiters, CDN, KaTeX options)

Requirements

  • Flarum ^2.0.0
  • PHP ^8.3

Installation

composer require zephyrisle/latex-pro

Then enable it in your Flarum admin panel.

Updating

composer update zephyrisle/latex-pro
php flarum cache:clear

Usage

Block expression (displayMode: true):

[math]\int_{-\infty}^\infty\hat\xi\,e^{2\pi i\xi x}\,d\xi[/math]

Inline expression (displayMode: false):

Lorem ipsum [imath]\varDelta = b^2-4ac[/imath] sit amet.

Wrap with backticks or code tag to skip rendering.

Building from Source

cd js
npm install
npm run build

License

MIT — see LICENSE.
Original work © 2019 Hasan Özbey
Modifications © 2026 zephyrisle

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 2

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固