Integrate KaTex render into the Wagtail CMS Draftail editor.
Project description
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_katex
to 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.
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
Built Distribution
File details
Details for the file wagtail-draftail-katex-0.1.3.tar.gz
.
File metadata
- Download URL: wagtail-draftail-katex-0.1.3.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4204a7bf700f018bdb09677c7bf872fcd55bd5d268fc8929de652a92efadaf6 |
|
MD5 | b662eaa23982048272d93a8bddc6b744 |
|
BLAKE2b-256 | fc061935daafb1dcf5b0edb3aaca65837f26a2f0784fc88913538c5ab99c0b0d |
File details
Details for the file wagtail_draftail_katex-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: wagtail_draftail_katex-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a842ad431ea954e9e62ed45526bdd290b8f5b54903d25efb7169afad18979a1 |
|
MD5 | ed65b019db3c490624e3672a33186d57 |
|
BLAKE2b-256 | 9f59e3e1373d536cfd901d2f00d5ee1fd1b4a8901d33c57f84c71536160e872d |