{ "info": { "author": "Fabian B\u00fcchler", "author_email": "fabian.buechler@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: JavaScript", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Markup" ], "description": "**django-markupmirror** is a custom field and widget for editing markup text\r\nin Django. It utilizes the `CodeMirror`_ JS editor for a richer editing\r\nexperience.\r\n\r\nIt uses parts of `James Turk's`_ `django-markupfield`_ and adds a nicer widget\r\nwith live-preview and an extension content-type for `FeinCMS`_.\r\n\r\n**Documentation**\r\n on Read the Docs: http://django-markupmirror.readthedocs.org/\r\n\r\n**Code and issues**\r\n on bitbucket: https://bitbucket.org/fabianbuechler/django-markupmirror\r\n\r\n**Releases**\r\n on PyPi: http://pypi.python.org/pypi/django-markupmirror\r\n\r\n.. _CodeMirror: http://codemirror.net/\r\n.. _James Turk's: https://github.com/jamesturk\r\n.. _django-markupfield: https://github.com/jamesturk/django-markupfield\r\n.. _FeinCMS: http://www.feinheit.ch/media/labs/feincms/\r\n\r\n\r\nQuickstart\r\n==========\r\n\r\n* To **install** django-markupmirror, use `pip`_ and add ``'markupmirror'`` to\r\n the ``INSTALLED_APPS`` in your `Django`_ project.\r\n\r\n* In your ``settings.py`` specify at least ``MARKUPMIRROR_DEFAULT_MARKUP_TYPE``\r\n which is ``'plaintext'`` by default.\r\n\r\n* For the markup HTML-preview, you'll need to add markupmirror's URLs in your\r\n URLconf. In your ``urls.py`` add::\r\n\r\n import markupmirror.urls\r\n\r\n urlpatterns = patterns('',\r\n (r'^markupmirror/', include(markupmirror.urls.preview)),\r\n )\r\n\r\n* Add one or more ``markupmirror.fields.MarkupMirrorField`` s to your models\r\n and define ``markup_type`` or ``default_markup_type``::\r\n\r\n class ModelWithMarkup(models.Model):\r\n content = MarkupMirrorField(\r\n verbose_name=\"content\", markup_type='markdown')\r\n\r\n* If you want the `FeinCMS`_ content-type model ``MarkupMirrorContent``, you'll\r\n also need to add ``'markupmirror.feincms'`` to your ``INSTALLED_APPS``.\r\n\r\n Also, you need to register the content-type model with FeinCMS' Page module::\r\n\r\n from feincms.module.page.models import Page\r\n from markupmirror.feincms.models import MarkupMirrorContent\r\n\r\n Page.create_content_type(MarkupMirrorContent)\r\n\r\nBy default, django-markupmirror comes with markup converters for plain text\r\n(converts links and linebreaks) and HTML (does nothing). Converters for\r\n`Markdown`_, `reStructuredText`_ and `Textile`_ are also available, but require\r\n3rd-party libraries to be installed. However, you can register your own markup\r\nconverters.\r\n\r\n.. _pip: http://www.pip-installer.org/\r\n.. _easy_install: http://peak.telecommunity.com/DevCenter/EasyInstall\r\n.. _Django: http://www.djangoproject.com/\r\n.. _FeinCMS: http://www.feinheit.ch/media/labs/feincms/\r\n.. _Markdown: http://daringfireball.net/projects/markdown/\r\n.. _reStructuredText: http://docutils.sourceforge.net/rst.html\r\n.. _Textile: http://www.textism.com/tools/textile/\r\n\r\n\r\nChangelog\r\n=========\r\n\r\n0.1c1 - 2012-08-25\r\n------------------\r\n\r\n* A few documentation fixes. Thanks Paolo Dina.\r\n\r\n0.1b2 - 2012-05-08\r\n------------------\r\n\r\n* Fixed problem with initializing the editor in FeinCMS when adding new\r\n content blocks.\r\n\r\n0.1b1 - 2012-05-08\r\n------------------\r\n\r\n* Textarea to editor conversion and live preview now also works for standard\r\n models, in collapsed fieldsets, added inlines and when switching tabs\r\n in FeinCMS pages.\r\n\r\n0.1a2 - 2012-05-03\r\n------------------\r\n\r\n* Added jQuery plugin for CodeMirror initialization and preview updating.\r\n Thanks to Gustav Pursche!\r\n\r\n* Improved usage and installation docs.\r\n\r\n0.1a1 - 2012-04-27\r\n------------------\r\n\r\n* Initial release including ``MarkupMirrorField`` field,\r\n ``MarkupMirrorTextarea`` and ``AdminMarkupMirrorTextareaWidget`` widgets and\r\n providing FeinCMS integration with ``MarkupMirrorContent`` Page content-type.\r\n Supported markup types are plain text, HTML, Mardown, reStructuredText and\r\n Textile.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/fabianbuechler/django-markupmirror", "keywords": "django markup field widget codemirror", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "django-markupmirror", "package_url": "https://pypi.org/project/django-markupmirror/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-markupmirror/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/fabianbuechler/django-markupmirror" }, "release_url": "https://pypi.org/project/django-markupmirror/0.1c1/", "requires_dist": null, "requires_python": null, "summary": "Django field and widget for editing markup content (PlainText, HTML,Markdown, reStructuredText, Textile) using the CodeMirror editor withlive preview.", "version": "0.1c1" }, "last_serial": 1236578, "releases": { "0.1a1": [ { "comment_text": "", "digests": { "md5": "35b1c43ebe52dbcca8e3a668ac6d00c1", "sha256": "69e2984ce761cba3e8e6ecb42f83b4f39f7a0afe3fb244061bf7fc659a078e25" }, "downloads": -1, "filename": "django-markupmirror-0.1a1.tar.gz", "has_sig": false, "md5_digest": "35b1c43ebe52dbcca8e3a668ac6d00c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 326537, "upload_time": "2012-04-17T17:54:55", "url": "https://files.pythonhosted.org/packages/0b/4b/2f4773ca71b37c97a033f91903a0688878bfbd714b4d5bf54d659a2d8a22/django-markupmirror-0.1a1.tar.gz" } ], "0.1a2": [ { "comment_text": "", "digests": { "md5": "12e068a4c9c750bcd750b2196275a7ac", "sha256": "7a1cf86b6dc8c85b2b5ebdf65eba55e70011be3dfd60b0acde20f81ca3505584" }, "downloads": -1, "filename": "django-markupmirror-0.1a2.tar.gz", "has_sig": false, "md5_digest": "12e068a4c9c750bcd750b2196275a7ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 387375, "upload_time": "2012-05-03T12:04:10", "url": "https://files.pythonhosted.org/packages/22/87/ead2690b32354dacd08d796a49a4a64c78d0f751ab3023bfb1aa68c9428c/django-markupmirror-0.1a2.tar.gz" } ], "0.1b1": [ { "comment_text": "", "digests": { "md5": "45f1c0e5331ad60f8ce869f043f57c25", "sha256": "20bfefa7ebd4d109f6bce8db82cb6278905c40fc311c7ffd0b77a4c5d822f3fb" }, "downloads": -1, "filename": "django-markupmirror-0.1b1.tar.gz", "has_sig": false, "md5_digest": "45f1c0e5331ad60f8ce869f043f57c25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 389468, "upload_time": "2012-05-08T11:18:48", "url": "https://files.pythonhosted.org/packages/f7/dd/9568a367811b3d4ebb9e5f205ad952116dec251da587d62922c5e92fb1f7/django-markupmirror-0.1b1.tar.gz" } ], "0.1b2": [ { "comment_text": "", "digests": { "md5": "38229383c7222bda2c2608bb88f7670b", "sha256": "402f3d333e9bd81b50e2b77f2dcd39e9b0e937fd5f263a134db70e86eadd1403" }, "downloads": -1, "filename": "django-markupmirror-0.1b2.tar.gz", "has_sig": false, "md5_digest": "38229383c7222bda2c2608bb88f7670b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 389877, "upload_time": "2012-05-08T13:38:36", "url": "https://files.pythonhosted.org/packages/9a/42/93c1854b556a219491c88f31f6a22cafdced2a7386a7c6ef9badbc4f4fa4/django-markupmirror-0.1b2.tar.gz" } ], "0.1c1": [ { "comment_text": "", "digests": { "md5": "cd30b811d3d75b9a3e58e407ad5e9e79", "sha256": "c0661aebb7aac617efa3c6bbb538157fea9b1a828a729ebb7712a1e35e64e438" }, "downloads": -1, "filename": "django-markupmirror-0.1c1.tar.gz", "has_sig": false, "md5_digest": "cd30b811d3d75b9a3e58e407ad5e9e79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 374475, "upload_time": "2012-08-25T16:27:16", "url": "https://files.pythonhosted.org/packages/45/35/24ca5b9f70e1e979e4863e5b4c078a2ba8338abfb0fd99b8a4da80106cf6/django-markupmirror-0.1c1.tar.gz" }, { "comment_text": "", "digests": { "md5": "d3ff1c18bcb344f12a6e116954bb30f5", "sha256": "669134861e2ba0506afc85cb36c85a7a54fa8a1ebe12c66ba4e381ff8d4ed29a" }, "downloads": -1, "filename": "django-markupmirror-0.2a1.tar.gz", "has_sig": false, "md5_digest": "d3ff1c18bcb344f12a6e116954bb30f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 189202, "upload_time": "2014-09-24T15:55:49", "url": "https://files.pythonhosted.org/packages/32/ce/a7edb1a6968e21ffff0302059d0b76492c8143eeae2f72c27929e09ee5d9/django-markupmirror-0.2a1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cd30b811d3d75b9a3e58e407ad5e9e79", "sha256": "c0661aebb7aac617efa3c6bbb538157fea9b1a828a729ebb7712a1e35e64e438" }, "downloads": -1, "filename": "django-markupmirror-0.1c1.tar.gz", "has_sig": false, "md5_digest": "cd30b811d3d75b9a3e58e407ad5e9e79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 374475, "upload_time": "2012-08-25T16:27:16", "url": "https://files.pythonhosted.org/packages/45/35/24ca5b9f70e1e979e4863e5b4c078a2ba8338abfb0fd99b8a4da80106cf6/django-markupmirror-0.1c1.tar.gz" }, { "comment_text": "", "digests": { "md5": "d3ff1c18bcb344f12a6e116954bb30f5", "sha256": "669134861e2ba0506afc85cb36c85a7a54fa8a1ebe12c66ba4e381ff8d4ed29a" }, "downloads": -1, "filename": "django-markupmirror-0.2a1.tar.gz", "has_sig": false, "md5_digest": "d3ff1c18bcb344f12a6e116954bb30f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 189202, "upload_time": "2014-09-24T15:55:49", "url": "https://files.pythonhosted.org/packages/32/ce/a7edb1a6968e21ffff0302059d0b76492c8143eeae2f72c27929e09ee5d9/django-markupmirror-0.2a1.tar.gz" } ] }