{ "info": { "author": "James Ramm", "author_email": "jamessramm@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "=============================\nWagtailMath\n=============================\n\n.. image:: https://badge.fury.io/py/wagtailmath.svg\n :target: https://badge.fury.io/py/wagtailmath\n\n\nWagtailMath allows you to write equations in your `Wagtail `_ content using markup and render them beautifully.\n\nWagtailMath provides a ``MathBlock`` so you can write equations in markup (TeX, MathML, ASCIIMath) and render them with MathJax.\nIt features a live preview:\n\n.. figure:: https://github.com/JamesRamm/wagtailmath/blob/master/docs/images/mathblock.png\n :alt: MathBlock in the Wagtail admin\n\n\n``MathBlock`` uses MathJax for rendering so there is very little to do on the front end. Simply include\nthe MathJax JS and render the raw ``MathBlock`` content as you would for any other streamfield plain text block.\n\nWagtailMath even includes a template tag to include the MathJax JS for you from a CDN. \nBy default, MathJax is configured to accept all recognised markup (TeX, MathML, ASCIIMath) and renders them to HTML.\nTo change the configuration, you can pass the desired config command to the templatetag.\nSee http://docs.mathjax.org/en/latest/config-files.html#combined-configurations for possible configurations.\n\nFor help on using the markup languages see the relevant MathJax documentation (e.g. http://docs.mathjax.org/en/latest/tex.html) \nand the markup language-specific documentation (e.g. https://en.wikibooks.org/wiki/LaTeX)\n\nQuickstart\n----------\n\nInstall wagtailmath::\n\n pip install wagtailmath\n\nAdd it to your `INSTALLED_APPS`:\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...\n 'wagtailmath',\n ...\n )\n\nUse ``MathBlock`` in your ``StreamField`` content:\n\n.. code-block:: python\n\n from wagtailmath.blocks import MathBlock\n\n class MyPage(Page):\n body = StreamField([\n ('heading', blocks.CharBlock(classname=\"full title\")),\n ('paragraph', blocks.RichTextBlock()),\n ('equation', MathBlock())\n ])\n\nUse the ``mathjax`` template tag in your front end template to load the MathJax library:\n\n.. code-block:: django\n\n {% load wagtailmath %}\n ...\n\n \n\n\n\n\n\nHistory\n-------\n\n0.1.0 (2017-04-24)\n++++++++++++++++++\n\n* First release on PyPI.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/JamesRamm/wagtailmath", "keywords": "development", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "wagtailmath", "package_url": "https://pypi.org/project/wagtailmath/", "platform": "", "project_url": "https://pypi.org/project/wagtailmath/", "project_urls": { "Homepage": "https://github.com/JamesRamm/wagtailmath" }, "release_url": "https://pypi.org/project/wagtailmath/1.1.0/", "requires_dist": null, "requires_python": "", "summary": "Wagtail StreamField block for rendering mathematical equations", "version": "1.1.0" }, "last_serial": 2873231, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e137e9ff1713c7d348d9f4357b1acd91", "sha256": "9d3f92b15c80b9185ca57d6757a7220294ceb7b2048a1cf13bbcfc72dba9e853" }, "downloads": -1, "filename": "wagtailmath-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e137e9ff1713c7d348d9f4357b1acd91", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5488, "upload_time": "2017-04-24T20:42:59", "url": "https://files.pythonhosted.org/packages/02/b6/9e0130cf8d80fcd51ccb6e8de5fc805a7347e3db168fbeccd84ac404350b/wagtailmath-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a55728e6fbc93750498cd95af38cf80e", "sha256": "a9800ae400b042e29b5317c4d10f614ac0691e34744e236485ea0ec81e7d5244" }, "downloads": -1, "filename": "wagtailmath-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a55728e6fbc93750498cd95af38cf80e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5913, "upload_time": "2017-04-24T20:42:53", "url": "https://files.pythonhosted.org/packages/06/11/67bd3694d3fe8200b0815ffba1daa50ca8f9f7210736cd7c98a52c467a4d/wagtailmath-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "673ffe6ebe4700f9d4c7044c78d1b91f", "sha256": "62c27081ea5727c32d5cf60faa0709783862813426f8cfffef1fc29806b8b083" }, "downloads": -1, "filename": "wagtailmath-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "673ffe6ebe4700f9d4c7044c78d1b91f", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8092, "upload_time": "2017-04-25T07:50:36", "url": "https://files.pythonhosted.org/packages/86/e3/a88f0a591eed45e19d7f28164f8959ac6a8cd54a17141d4493511b313800/wagtailmath-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b3856ea2bc69e0399818a650a95e8275", "sha256": "461f515a7fba7afbee2613aee6f571c87eb2c46c9c1d623af1313d43566c283d" }, "downloads": -1, "filename": "wagtailmath-1.0.0.tar.gz", "has_sig": false, "md5_digest": "b3856ea2bc69e0399818a650a95e8275", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7642, "upload_time": "2017-04-25T07:50:28", "url": "https://files.pythonhosted.org/packages/7d/46/0eab2c0bbc07c091d9422894801df171c310c05e1e467a173cb21c2466b9/wagtailmath-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "c978bba0da8926e1fc5b5280ff7161d8", "sha256": "a0a49141ffdb8927660c33246b92e22d8784e228f2ab659d7a7fa2b85be7c95f" }, "downloads": -1, "filename": "wagtailmath-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c978bba0da8926e1fc5b5280ff7161d8", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8186, "upload_time": "2017-05-14T10:46:46", "url": "https://files.pythonhosted.org/packages/e8/a5/56618a39e70aeaa2aab40109df56c078ff58bcccbb3514fa23109bcf7288/wagtailmath-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2faef77eb3884b1a557fc6f74c5c0de6", "sha256": "32b69303ff9d4226023007c43cdbd2aebb4e0f20e21aaca7a441f2099dee503d" }, "downloads": -1, "filename": "wagtailmath-1.1.0.tar.gz", "has_sig": false, "md5_digest": "2faef77eb3884b1a557fc6f74c5c0de6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7712, "upload_time": "2017-05-14T10:46:39", "url": "https://files.pythonhosted.org/packages/70/1c/6ebcd6fbae791ebbde5f07e1e9d1c4ad5d1dffe769bd7d0e71fad5b6fe85/wagtailmath-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c978bba0da8926e1fc5b5280ff7161d8", "sha256": "a0a49141ffdb8927660c33246b92e22d8784e228f2ab659d7a7fa2b85be7c95f" }, "downloads": -1, "filename": "wagtailmath-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c978bba0da8926e1fc5b5280ff7161d8", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8186, "upload_time": "2017-05-14T10:46:46", "url": "https://files.pythonhosted.org/packages/e8/a5/56618a39e70aeaa2aab40109df56c078ff58bcccbb3514fa23109bcf7288/wagtailmath-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2faef77eb3884b1a557fc6f74c5c0de6", "sha256": "32b69303ff9d4226023007c43cdbd2aebb4e0f20e21aaca7a441f2099dee503d" }, "downloads": -1, "filename": "wagtailmath-1.1.0.tar.gz", "has_sig": false, "md5_digest": "2faef77eb3884b1a557fc6f74c5c0de6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7712, "upload_time": "2017-05-14T10:46:39", "url": "https://files.pythonhosted.org/packages/70/1c/6ebcd6fbae791ebbde5f07e1e9d1c4ad5d1dffe769bd7d0e71fad5b6fe85/wagtailmath-1.1.0.tar.gz" } ] }