Skip to main content

MATHJAX Plugin for django CMS

Project description

https://badge.fury.io/py/cmsplugin-mathjax.svg https://img.shields.io/pypi/dm/cmsplugin-mathjax.svg https://img.shields.io/pypi/status/cmsplugin-mathjax.svg https://img.shields.io/pypi/pyversions/cmsplugin-mathjax.svg https://img.shields.io/pypi/l/cmsplugin-mathjax.svg

Django CMS MathJax Plugin

Django CMS MathJax Plugin provides a plugin that allows you to use MathJax markups within a page.

This plugin was rewritten from a prior work of Dmitry E. Kislov in late 2015 (cf. forked repo).

Despite it works fine, it isn’t a very elegant solution since it doesn’t add content but add javascript ressource to the page instead.

Note we don’t need a plugin for MathJax contents since MathJax acts as a parser and don’t relies on classes.

Installation

This plugin requires django CMS 3 or higher to be properly installed.

  • Within your virtualenv run pip install cmsplugin-mathjax

  • Check you have 'django_sekizai' in your INSTALLED_APPS setting

  • Add 'cmsplugin_mathjax' to your INSTALLED_APPS setting

  • Run manage.py migrate cmsplugin_mathjax

Usage

You just have to add this plugin in your page structure somewhere (best at the beginning).

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

cmsplugin-mathjax-0.1.1.tar.gz (5.3 kB view hashes)

Uploaded Source

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