Provides plugin to render formulae in django CMS
Project description
djangocms-katex
Provides a django CMS plugin to render formulae using KaTeX.
The plugin can display formulae either inline or in display mode. It is text-enabled and you can add equations to rich text fields of djangocms-text-ckeditor.
The plugin form has a preview functionality that either shows the typed formula. Errors are shown in red.
Installation
For a manual install:
-
run
pip install djangocms-katex
-
add the following entries to your
INSTALLED_APPS
:"djangocms_katex",
-
run
python manage.py migrate
The Code plugin uses the ace code editor which is loaded from a CDN by default.
If you want the ace code editor to be served from static files, please use
djangocms-katex[static-ace]
instead of djangocms-katex
in your
requirements or with pip. Make the static files for the ace code editor available
to your project by adding djangocms_static_ace
to your project's
INSTALLED_APPS
.
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
File details
Details for the file djangocms-katex-0.2.0.tar.gz
.
File metadata
- Download URL: djangocms-katex-0.2.0.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e5a15a2a1f74a6e68ef2fd98940178366d9be87c52a653f4622673e2695632a |
|
MD5 | 86d332d6b731a6909f54be77afe47d73 |
|
BLAKE2b-256 | 9599b0ef6ef9571c340724e756d47e9c09b12b4a88e98b80e62204501144a76f |
File details
Details for the file djangocms_katex-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: djangocms_katex-0.2.0-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c5647c4ab8f6a27bbbdca5a66dcadc667de8d673dfc05d1341e9c348f98ebcf |
|
MD5 | 384be1e775b3c5d49cae176768be9a83 |
|
BLAKE2b-256 | b1b90bcd320fb49739e986c149dca9f30b58e95e4ecef7e0c804c930f493f8ec |