Metadata-Version: 2.1
Name: wagtail-katex
Version: 0.0.2
Summary: KaTex for Wagtail CMS Draftail editor
Home-page: https://github.com/ongchi/wagtail-katex
Author: ongchi
Author-email: ongchi@users.noreply.github.com
Project-URL: Bug Tracker, https://github.com/ongchi/wagtail-katex/issues
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django :: 3.0
Classifier: Framework :: Django :: 3.1
Classifier: Framework :: Wagtail
Classifier: Framework :: Wagtail :: 2
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# wagtail-katex

> This package is modified from [gatensj/wagtail-draftail-katex](https://github.com/gatensj/wagtail-draftail-katex)

**[KaTex](https://katex.org)** support for Wagtail RichTextField.

![Inserting an Images](https://raw.githubusercontent.com/gatensj/wagtail-draftail-katex/master/images/screenshot06152018-1.png)

![Image Editor](https://raw.githubusercontent.com/gatensj/wagtail-draftail-katex/master/images/screenshot06152018-2.png)

## Quick Start

Install the package with

```sh
pip install wagtail-katex
```

Add `wagtailkatex` to your `settings.py` in the `INSTALLED_APPS` section:

```python
INSTALLED_APPS = [
    ...
    "wagtailkatex",
    ...
]
```

Add `katex-embed` to `RichTextField` features:

```python
body = RichTextField(features=[..., "katex-embed"])
```
