Skip to main content

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: Inserting an Image

Simple dialog for editing the LaTeX codes: Image Editor

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

wagtail-draftail-katex-0.1.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

wagtail_draftail_katex-0.1.3-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file wagtail-draftail-katex-0.1.3.tar.gz.

File metadata

File hashes

Hashes for wagtail-draftail-katex-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b4204a7bf700f018bdb09677c7bf872fcd55bd5d268fc8929de652a92efadaf6
MD5 b662eaa23982048272d93a8bddc6b744
BLAKE2b-256 fc061935daafb1dcf5b0edb3aaca65837f26a2f0784fc88913538c5ab99c0b0d

See more details on using hashes here.

File details

Details for the file wagtail_draftail_katex-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for wagtail_draftail_katex-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6a842ad431ea954e9e62ed45526bdd290b8f5b54903d25efb7169afad18979a1
MD5 ed65b019db3c490624e3672a33186d57
BLAKE2b-256 9f59e3e1373d536cfd901d2f00d5ee1fd1b4a8901d33c57f84c71536160e872d

See more details on using hashes here.

Supported by

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