Skip to main content

通过互联网公共服务渲染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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_latex-0.0.3.1.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_latex-0.0.3.1-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_latex-0.0.3.1.tar.gz.

File metadata

  • Download URL: nonebot_plugin_latex-0.0.3.1.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for nonebot_plugin_latex-0.0.3.1.tar.gz
Algorithm Hash digest
SHA256 fc5a5ebb494ba1571075a0746c17634290ecafdaefbc4df25948fc3bab80ec62
MD5 0e0008d3fea8d0ddf5b991b576644ea8
BLAKE2b-256 017417c749454f84bc25d76c810d66da9069810ca76252ea0a15a79ab78719ce

See more details on using hashes here.

File details

Details for the file nonebot_plugin_latex-0.0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_latex-0.0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b840295aa8b2c3733c8c9f72028016d5819a2ac14f9a58b21a420aa15e715e0
MD5 9994451f65badad4146a9e8eaaa339dd
BLAKE2b-256 dc43fa995f8e7c10602ac410848abf3facc4689b0cdeb3ddafa813cb9be74fbd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page