Skip to main content

Integrate KaTex render into the Wagtail CMS Draftail editor.

Project description

Wagtail Katex plugin

This will be an integration of a KaTek into the Wagtail CMS Draftail editor.

Inserting an Images

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.2.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

wagtail_draftail_katex-0.1.2-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for wagtail-draftail-katex-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8e4c10412aeca1aa1913b40568c532039707b5964c48a8ef2d105202493998df
MD5 ac139b751bad4283f0e23ac710c67b04
BLAKE2b-256 1a68ecd4d2a67074549c4756714e3d0ecf4d6b372d148bd1be991ae9cd3c839f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wagtail_draftail_katex-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0c2407d2fb25171fb2969cee10dd1db3ccc52cec8d460b4a94231b921ed849ab
MD5 491674ab7f4cf2d9932762ed59ef1c33
BLAKE2b-256 4c9efab80beda746457c981f75c01a19dea435222b342dc76c71e0ceb29ed773

See more details on using hashes here.

Supported by

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