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.

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 hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page