Wagtail Katex plugin
Integrate KaTex render into the Wagtail CMS Draftail editor..
This image shows a rendered value:
Simple dialog for editing the LaTeX codes:
Installation
pip install wagtail-katek-plugin- Add
draftail_katexto your list of installed apps AFTER all wagtail app includes (e.g. wagtail.admin, wagtail.core etc).
Usage
Development
Create a local virtualenv using python3
python3 -m venv .venv3
source .venv3/bin/activate
On windows, the source command above is different. you need to run the setup script
.venv3\Scripts\activate
Install the development requirements
pip install -r requirements_dev.txt
Resources
This plugin uses the KaTeX javascript renderer to render the input text to an output format. More information can be found here:
https://khan.github.io/KaTeX/
Including a reference to the LaTeX Math syntax supported.
Release files for wagtail-draftail-katex 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wagtail-draftail-katex-0.1.3.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wagtail_draftail_katex-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.8 kB
Release files / wagtail-draftail-katex-0.1.3.tar.gz
| Download URL | wagtail-draftail-katex-0.1.3.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4204a7bf700f018bdb09677c7bf872fcd55bd5d268fc8929de652a92efadaf6
|
|
BLAKE2b-256 checksum How to use checksums |
fc061935daafb1dcf5b0edb3aaca65837f26a2f0784fc88913538c5ab99c0b0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / wagtail_draftail_katex-0.1.3-py3-none-any.whl
| Download URL | wagtail_draftail_katex-0.1.3-py3-none-any.whl |
|---|---|
| Size | 2.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a842ad431ea954e9e62ed45526bdd290b8f5b54903d25efb7169afad18979a1
|
|
BLAKE2b-256 checksum How to use checksums |
9f59e3e1373d536cfd901d2f00d5ee1fd1b4a8901d33c57f84c71536160e872d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |