{ "info": { "author": "Ahmad Khayyat", "author_email": "akhayyat@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: JavaScript", "Programming Language :: Python" ], "description": "Mezzanine PageDown\n==================\n\nInspired by\n`mezzanine-mdown `__,\n`django-pagedown `__,\nand\n`django-markupmirror `__.\n\nThis package provides rich text widgets and filters for\n`Mezzanine `__ to author content using\nMarkdown syntax instead of the default TinyMCE editor.\n\nFeatures\n--------\n\n- Uses the `PageDown `__ markdown\n editor from Stack Exchange (optional), and\n `Python-Markdown `__ for\n rendering.\n\n- Supports client-side and server-side live previews in the editor.\n Client-side previews use PageDown's JavaScript previewer. Server-side\n previews use the same rendering filter as the final page.\n\n- Supports bundled and custom `Python-Markdown\n extensions `__,\n and provides a few filters that are preconfigured to use some\n extensions, such as `Markdown\n Extra `__. If\n server-side previews are enabled, configured extensions will be\n enabled in the editor preview.\n\n- HTML sanitizing using `Bleach `__.\n Bleach is already a dependency of Mezzanine.\n\n- Integrates the editor's ``Insert Image`` button with Mezzanine's file\n browser (Media Library). Clicking the ``Insert Image`` button pops up\n an in-window selection dialog of Mezzanine's Media Library.\n\nHow to Use\n----------\n\n1. Get and install the package:\n\n ::\n\n pip install mezzanine-pagedown\n\n Mezzanine 1.3 or higher is required.\n\n2. Install the app in your Mezzanine project by adding\n ``mezzanine_pagedown`` to the list of ``INSTALLED_APPS`` in your\n project's ``settings.py``.\n\n3. Configure Mezzanine to use one of the provided rich text widgets. In\n your project's ``settings.py``, set ``RICHTEXT_WIDGET_CLASS`` to:\n\n - ``'mezzanine_pagedown.widgets.PageDownWidget'`` to use the\n PageDown editor with live preview.\n\n - ``'mezzanine_pagedown.widgets.PlainWidget'`` to use a plain\n textarea without preview.\n\n4. Configure Mezzanine to use one of the provided rich text filters for\n rendering markdown content. In ``settings.py``, set\n ``RICHTEXT_FILTERS`` to include one of the following:\n\n - ``'mezzanine_pagedown.filters.plain'`` to use plain Markdown\n syntax with no extensions.\n\n - ``'mezzanine_pagedown.filters.extra'`` to use Markdown Extra.\n\n - ``'mezzanine_pagedown.filters.codehilite'`` to enable the\n `CodeHilite `__\n extension.\n\n - ``'mezzanine_pagedown.filters.custom'`` to enable an explicit list\n of extensions through the ``PAGEDOWN_MARKDOWN_EXTENSIONS`` setting\n (see below).\n\n5. Disable Mezzanine's HTML sanitizing so that it does not interfere\n with markdown's blockquote syntax (``>``):\n\n ::\n\n RICHTEXT_FILTER_LEVEL = 3\n\n mezzanine-pagedown provides its own sanitizing after rendering\n Markdown to HTML, and respects Mezzanine's ``RICHTEXT_ALLOWED_TAGS``,\n ``RICHTEXT_ALLOWED_ATTRIBUTES``, and ``RICHTEXT_ALLOWED_STYLES``\n settings.\n\n6. (Optional): Server-side previews:\n\n - In ``settings.py``, enable server-side live previews in the\n editor:\n\n ::\n\n PAGEDOWN_SERVER_SIDE_PREVIEW = True\n\n By default (``False``), previews are generated client-side using\n PageDown's previewer.\n\n - In ``urls.py``, enable the preview URL:\n\n ::\n\n import mezzanine_pagedown.urls\n\n Then add the following line to ``urlpatterns``:\n\n ::\n\n (\"^pagedown/\", include(mezzanine_pagedown.urls)),\n\n In this case, the preview URL is ``/pagedown/preview/``. You can\n replace ``\"^pagedown/\"`` with your own path.\n\n7. (Optional): Set enabled extensions. Requires the ``custom`` filter:\n\n ::\n\n RICHTEXT_FILTERS = ['mezzanine_pagedown.filters.custom']\n PAGEDOWN_MARKDOWN_EXTENSIONS = ('extra','codehilite','toc')\n\n To use a `custom\n extension `__,\n import it and include an instance in the list of extensions:\n\n ::\n\n from myapp.markdown_extensions.myextension import MyExtension\n PAGEDOWN_MARKDOWN_EXTENSIONS = ('extra', MyExtension())\n\n8. (Optional): Generate and use a pygments CSS style for use with the\n CodeHilite extension (requires installing pygments):\n\n ::\n\n python manage.py pygments_styles \n\nLicense\n-------\n\nLicence: BSD. See included ``LICENSE`` file.\n\nNote that this license applies to this repository only. The\n`PageDown `__ JavaScript library is\nused as a sub-repository and has its own license.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/akhayyat/mezzanine-pagedown", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "mezzanine-pagedown", "package_url": "https://pypi.org/project/mezzanine-pagedown/", "platform": "", "project_url": "https://pypi.org/project/mezzanine-pagedown/", "project_urls": { "Homepage": "https://bitbucket.org/akhayyat/mezzanine-pagedown" }, "release_url": "https://pypi.org/project/mezzanine-pagedown/1.3/", "requires_dist": [ "bleach", "filebrowser-safe (>=0.2.13)", "markdown", "mezzanine (>=1.4.4)", "setuptools" ], "requires_python": "", "summary": "PageDown rich text widget for Mezzanine", "version": "1.3" }, "last_serial": 3995147, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "5703900d8f02b00751e310f82500bd3c", "sha256": "a1d72633225c26067c48829fc5d530c3e7e30486ca0a1c9d86f852ed1e74c5f0" }, "downloads": -1, "filename": "mezzanine-pagedown-0.2.tar.gz", "has_sig": false, "md5_digest": "5703900d8f02b00751e310f82500bd3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 51387, "upload_time": "2013-02-06T07:59:22", "url": "https://files.pythonhosted.org/packages/86/c6/1f067414ffddbe5f36773ebde2276d15dfefbcd4eb6a9f95d839dedddb05/mezzanine-pagedown-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "e67f41ee711e8c99e4812f83d158992f", "sha256": "31d6eb8d20b8943ae5b0de13b76757be39064b42818406abe06e5c0a489f1da7" }, "downloads": -1, "filename": "mezzanine-pagedown-0.3.tar.gz", "has_sig": false, "md5_digest": "e67f41ee711e8c99e4812f83d158992f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 51450, "upload_time": "2013-02-13T06:36:04", "url": "https://files.pythonhosted.org/packages/ad/96/4943a10660f0dbc6deec8628b8128280e5e248a120131dbc202856765060/mezzanine-pagedown-0.3.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "4d01eed414d23efee9ebf82495980e9a", "sha256": "94b562f2292b904bc7dea6ff9ea3df7b3c0f5e0cc652f7ad53af6ab69b9292d2" }, "downloads": -1, "filename": "mezzanine-pagedown-0.5.tar.gz", "has_sig": false, "md5_digest": "4d01eed414d23efee9ebf82495980e9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53269, "upload_time": "2013-06-27T01:48:30", "url": "https://files.pythonhosted.org/packages/04/0c/c608db8f78962774cf8b3ddaba2220138d9ebae8ca32551f1d0b2168da83/mezzanine-pagedown-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "7f03873e76cc812c1c05237034cb6b99", "sha256": "af6f467c5a1ddfe0d79361a5661ff10ac0f301973871cb15af5264178835d7a2" }, "downloads": -1, "filename": "mezzanine-pagedown-0.6.tar.gz", "has_sig": false, "md5_digest": "7f03873e76cc812c1c05237034cb6b99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53517, "upload_time": "2013-12-10T22:49:10", "url": "https://files.pythonhosted.org/packages/d2/a0/014c4e7fb0ff091e805d6414615f475379bc06b443cbb0b01f93a242fddd/mezzanine-pagedown-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "9ac6046e1af103b9232f037b7ccf7033", "sha256": "b054fead50c3f7c183961878052c71f26beb82e8cc89b5667088aa1fd4b7e394" }, "downloads": -1, "filename": "mezzanine-pagedown-0.7.tar.gz", "has_sig": false, "md5_digest": "9ac6046e1af103b9232f037b7ccf7033", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53600, "upload_time": "2014-07-09T16:51:49", "url": "https://files.pythonhosted.org/packages/bc/db/bd86598b61db8d5d60b266bac5d14da32e6b634a2b3d110a656689d7128e/mezzanine-pagedown-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "481de2150e5dde671644d6c3078700fc", "sha256": "e49966357c747898d129f3924dd20f074ed8c9daeb1fbd94adf12a4d405ce3af" }, "downloads": -1, "filename": "mezzanine-pagedown-0.8.tar.gz", "has_sig": false, "md5_digest": "481de2150e5dde671644d6c3078700fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55111, "upload_time": "2014-08-26T07:11:03", "url": "https://files.pythonhosted.org/packages/c4/4d/4bdea4db2d7622cf4d9e70e34222d063fca93f5a0b788f207b1db2a30c26/mezzanine-pagedown-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "e0fb9d12e7b63e1515a00662c121d0fd", "sha256": "9605f98205cccdca2acec1416f2807431053515e2f3a82de13d9ae2284f43d01" }, "downloads": -1, "filename": "mezzanine-pagedown-0.9.tar.gz", "has_sig": false, "md5_digest": "e0fb9d12e7b63e1515a00662c121d0fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63206, "upload_time": "2015-10-04T17:50:19", "url": "https://files.pythonhosted.org/packages/60/56/9c66d7f9eb79cd9383828211c528d90e55975161fa24957b4b58b8424301/mezzanine-pagedown-0.9.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "0174c2148755facc7a97de7f62e0dfd2", "sha256": "8895b37aaf4d6ec9a8ef827ec8d4b77b53b60bd55e68f745c0d8a54576739f1d" }, "downloads": -1, "filename": "mezzanine_pagedown-1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "0174c2148755facc7a97de7f62e0dfd2", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 66988, "upload_time": "2016-03-30T14:57:13", "url": "https://files.pythonhosted.org/packages/86/f7/8af27a5f24e93722f02a45367cedb9908727952b26a9394402715e01973b/mezzanine_pagedown-1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "45e4793ddae1dd149eca670f9d9dd00d", "sha256": "8a22deb533ab5499e53c0d28a326002059bff8243cd72b92b5b77aa8559ab0d4" }, "downloads": -1, "filename": "mezzanine-pagedown-1.0.tar.gz", "has_sig": false, "md5_digest": "45e4793ddae1dd149eca670f9d9dd00d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63246, "upload_time": "2016-03-30T14:58:39", "url": "https://files.pythonhosted.org/packages/4f/63/8f7c935fae0c2dc7df9920fc46f22ed4ae1df3576d4133b204abf215ac88/mezzanine-pagedown-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "74246b9bae0af09c72966f3671504c33", "sha256": "2fa2080849d1d495faf12521bd3bfeae3aae41f2c055c6959078909f797c19f3" }, "downloads": -1, "filename": "mezzanine_pagedown-1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "74246b9bae0af09c72966f3671504c33", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 66511, "upload_time": "2018-04-07T12:37:24", "url": "https://files.pythonhosted.org/packages/7f/e9/d069b6571ba071d03f44c9bd3bbc07d9a5fd7278abe48d2ebb6ae3ce1840/mezzanine_pagedown-1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e2ca5dea8238f390429d0a0740411bd4", "sha256": "b22ca5bd09a4f530a1a7db5751bb34806874020b6275da80d15e9842d17f695b" }, "downloads": -1, "filename": "mezzanine-pagedown-1.1.tar.gz", "has_sig": false, "md5_digest": "e2ca5dea8238f390429d0a0740411bd4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 62968, "upload_time": "2018-04-07T12:38:19", "url": "https://files.pythonhosted.org/packages/3e/2c/676aa47366fb6e10527dc7916721088265672e43d6649914be7f64d40e36/mezzanine-pagedown-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "3dc2c3f68ffbc4c6b5d98492ba955987", "sha256": "8d2e17989e1ce5a3433d806893a7390fa5d171e62bcc5a65f1ccaf35963efff1" }, "downloads": -1, "filename": "mezzanine_pagedown-1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "3dc2c3f68ffbc4c6b5d98492ba955987", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 67038, "upload_time": "2018-06-13T20:26:26", "url": "https://files.pythonhosted.org/packages/c9/55/ca65c937d251ecec8b048a9b6e04c7149bcff27dbc400c6a45a80e84c474/mezzanine_pagedown-1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f65c40a267e57a3802006b3df35c9915", "sha256": "87771e56c155a9f8f8130aeedc1f95e62634d42894a8f6702c4f31fa1377a8a6" }, "downloads": -1, "filename": "mezzanine-pagedown-1.2.tar.gz", "has_sig": false, "md5_digest": "f65c40a267e57a3802006b3df35c9915", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63227, "upload_time": "2018-06-13T20:26:28", "url": "https://files.pythonhosted.org/packages/1a/66/f0b01b9531d1484a1f622a3d27edd4bc86da2b7ec3d2a6cce9bd028882e2/mezzanine-pagedown-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "d4b05d45226d764e9e646b37921f191e", "sha256": "74b9f298d90f80451d6bdbe284f3d47669f6fdb3cacb3610d2bdffc2705f766a" }, "downloads": -1, "filename": "mezzanine_pagedown-1.3-py2-none-any.whl", "has_sig": false, "md5_digest": "d4b05d45226d764e9e646b37921f191e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 67041, "upload_time": "2018-06-24T04:56:38", "url": "https://files.pythonhosted.org/packages/cc/9a/40fac73ca76f9a62f3f394a042bcf9231a905fffd8bfac41e768c602ed9f/mezzanine_pagedown-1.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2edbc9bfc89e33201829d6e5c45c42d9", "sha256": "22fe6c1cba60c4362dd0e920d436e5162b54f6de4b060af005dbe9ded1e861a9" }, "downloads": -1, "filename": "mezzanine-pagedown-1.3.tar.gz", "has_sig": false, "md5_digest": "2edbc9bfc89e33201829d6e5c45c42d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63236, "upload_time": "2018-06-24T04:56:39", "url": "https://files.pythonhosted.org/packages/e8/68/00b1e774ccd28c9ed7c336b66439db7a28917be530a43bf059dea46dd928/mezzanine-pagedown-1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d4b05d45226d764e9e646b37921f191e", "sha256": "74b9f298d90f80451d6bdbe284f3d47669f6fdb3cacb3610d2bdffc2705f766a" }, "downloads": -1, "filename": "mezzanine_pagedown-1.3-py2-none-any.whl", "has_sig": false, "md5_digest": "d4b05d45226d764e9e646b37921f191e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 67041, "upload_time": "2018-06-24T04:56:38", "url": "https://files.pythonhosted.org/packages/cc/9a/40fac73ca76f9a62f3f394a042bcf9231a905fffd8bfac41e768c602ed9f/mezzanine_pagedown-1.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2edbc9bfc89e33201829d6e5c45c42d9", "sha256": "22fe6c1cba60c4362dd0e920d436e5162b54f6de4b060af005dbe9ded1e861a9" }, "downloads": -1, "filename": "mezzanine-pagedown-1.3.tar.gz", "has_sig": false, "md5_digest": "2edbc9bfc89e33201829d6e5c45c42d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63236, "upload_time": "2018-06-24T04:56:39", "url": "https://files.pythonhosted.org/packages/e8/68/00b1e774ccd28c9ed7c336b66439db7a28917be530a43bf059dea46dd928/mezzanine-pagedown-1.3.tar.gz" } ] }