通过互联网公共服务渲染LaTeX公式
Project description
nonebot-plugin-latex
NoneBot2 LaTeX 图形渲染插件
通过互联网公共服务渲染 LaTeX 公式
利用 www.latex2png.com 和 latex.codecogs.com 在线渲染 LaTeX 公式
安装
pip install nonebot-plugin-latex
使用
如果希望直接作为 LaTeX 渲染插件使用的话,请在 NoneBot 配置文件中添加以下内容:
latex_enable_as_application = true
这样就可以使用 latex 命令进行渲染了,例如 latex $E=mc^2$ 就会返回这个方程式的渲染图片。
提交
各位可以搭建自己的 LaTeX 在线渲染服务,或者直接本地渲染,如果提交到本仓库,在下不胜感激。
对于本地渲染服务,请不要使用 nonebot-plugin-htmlrender
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_latex-0.0.3.2.tar.gz.
File metadata
- Download URL: nonebot_plugin_latex-0.0.3.2.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c001b2b58171ce741f6b00a7d7e62bbdb76f7a023bc77aabf980fe5fac233d6e
|
|
| MD5 |
fd9500c0861c4906b158d0ebcfa3cc99
|
|
| BLAKE2b-256 |
c50f96918bbc1d452f3bf4726817466ebf1b18fb2b0f5351a79374f5a9190cd6
|
File details
Details for the file nonebot_plugin_latex-0.0.3.2-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_latex-0.0.3.2-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5efc5734fd8f21ce8056bddd9c4b472c0ed1d0956cf4992cb7b7b4f98f1e56e0
|
|
| MD5 |
844147e649eaa19ef1eb4b15285ab395
|
|
| BLAKE2b-256 |
1ce41c16a922244f10b513fcd9dbbbe6b033579034f671b11130005ed5e765fd
|