{ "info": { "author": "Patrik Dufresne Service Logiciel inc.", "author_email": "info@patrikdufresne.com", "bugtrack_url": null, "classifiers": [ "Environment :: Plugins", "Environment :: Web Environment", "Framework :: Lektor", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License" ], "description": "# Lektor Python-Markdown Plugin\n\n[![pipeline status](http://git.patrikdufresne.com/pdsl/lektor-python-markdown/badges/master/pipeline.svg)](http://git.patrikdufresne.com/pdsl/lektor-python-markdown/commits/master)\n\nA [Lektor](https://www.getlektor.com/) plugin to parse markdown using\n[Python-Markdown](https://python-markdown.github.io/). By default, lektor\nuses [mistune](http://mistune.readthedocs.io/en/latest/) to parse markdown\nfield.\nWith this plugin, you can chose which parser is to be used by setting a\ndifferent type on the field. Either: `markdown` or `pythonmarkdown`\n\n## Installation\n\nAdd lektor-pythonmarkdown to your project from command line:\n\n```\nlektor plugins add lektor-pythonmarkdown\n```\n\n## Usage\n\nIn your model, you need to define the type of field as follow:\n```\n[model]\nname = Page\n\n[fields.body]\nlabel = Body\ntype = pythonmarkdown\n\n```\n\n# Warning !\n\nThis plugins is is obviously incompatible with all of the mistune-specific events and plugins. Namely, all of `markdown-*` events and the plugins built around them.\n\n\n# Advance configuration\n\nThis lektor plugins provide a nice way to configure python-markdown. For instance, it's possible to explicitly define the extentions to be enabled and to configure each of them seperatly.\n\nFor an advance configuration, you need to create a file named `pythonmarkdown.ini` in the `configs` folder.\n\nIn that file you may write something similar to the following:\n```\n[markdown]\n# Define the configuration of python-markdown.\n# Reference: https://python-markdown.github.io/reference/#markdown\n\n#output_format = xhtml1\n#tab_length = 4\n#safe_mode = False\n#enable_attributes = True\n#smart_emphasis = True\n#lazy_ol = True\n\n[extensions]\n# List extensions to be enabled.\nmarkdown.extensions.extra = 1\nmarkdown.extensions.admonition = 1\nmarkdown.extensions.codehilite = 1\nmarkdown.extensions.meta = 1\nmarkdown.extensions.nl2br = 1\nmarkdown.extensions.sane_lists = 1\nmarkdown.extensions.smarty = 1\nmarkdown.extensions.toc = 1\nmarkdown.extensions.wikilinks = 1\n\n[markdown.extensions.codehilite]\n# Specific configuration for an extension.\n# Reference: https://python-markdown.github.io/extensions/code_hilite/#usage\nlinenums = True\n#guess_lang = True\n#css_class = codehilite\n#pygments_style = default\n#noclasses = False\n#use_pygments = True\n\n```\n\n# References\n* [Lektor-PythonMarkdown plugin](http://www.patrikdufresne.com/en/blog/2018-11-21-lektor-python-markdown/)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ikus060/lektor-python-markdown", "keywords": "Lektor plugin static-site blog Python-Markdown", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lektor-pythonmarkdown", "package_url": "https://pypi.org/project/lektor-pythonmarkdown/", "platform": "", "project_url": "https://pypi.org/project/lektor-pythonmarkdown/", "project_urls": { "Homepage": "https://github.com/ikus060/lektor-python-markdown" }, "release_url": "https://pypi.org/project/lektor-pythonmarkdown/1.2/", "requires_dist": [ "markdown" ], "requires_python": "", "summary": "Add pythonmarkdownn field type to Lektor to make use of python-markdown as a renderer.", "version": "1.2" }, "last_serial": 4746135, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "46adfbc4d9acda8848c650639bd83a36", "sha256": "4b49c66e138436c9312b689b145028d5f92438115a9457ab5b8f04b9bf1b77ea" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "46adfbc4d9acda8848c650639bd83a36", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4627, "upload_time": "2018-11-21T18:50:28", "url": "https://files.pythonhosted.org/packages/13/15/32cb1925486b1e739b8f718380db75036e296955e756a8de840c61e4b734/lektor_pythonmarkdown-1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d2384263d15fbf9ef05b3ec486738afe", "sha256": "2d374c2f820eb1d3e6b049255092711dac60affbfe895517b1fc055e9c899cc0" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.0.tar.gz", "has_sig": false, "md5_digest": "d2384263d15fbf9ef05b3ec486738afe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 169365, "upload_time": "2018-11-21T18:50:30", "url": "https://files.pythonhosted.org/packages/4e/db/9a25110c4a7e1ac0778e2ae13b0ecb24caee36f422e254f5e6b28e069a26/lektor-pythonmarkdown-1.0.tar.gz" } ], "1.0b1": [ { "comment_text": "", "digests": { "md5": "f82e204a5f2308a1f2c281f9df309f89", "sha256": "7fdb61235160de7383aea67a30cf8827a3db877d81578a40f6cc6b7d8b180e6b" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.0b1-py2-none-any.whl", "has_sig": false, "md5_digest": "f82e204a5f2308a1f2c281f9df309f89", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3790, "upload_time": "2018-06-10T19:40:07", "url": "https://files.pythonhosted.org/packages/b7/bc/0154936623674e2418a9c06bfb5f4d87fd554a3a8d0b1280a727fc361ff2/lektor_pythonmarkdown-1.0b1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0ec43a0f0c08f017c9147b8b9d17a3c4", "sha256": "b473abd37cc8a4041b92d4c67557a3b2481e333f24bab28fc45da59a36bd5139" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.0b1.tar.gz", "has_sig": false, "md5_digest": "0ec43a0f0c08f017c9147b8b9d17a3c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5034, "upload_time": "2018-06-10T19:40:08", "url": "https://files.pythonhosted.org/packages/f1/ea/fff6c54a180b55c02aa870cbd37403ef54fcdc2e91b80076e241398fa707/lektor-pythonmarkdown-1.0b1.tar.gz" } ], "1.0b2": [ { "comment_text": "", "digests": { "md5": "1dba1687d5f68a15968767b5ad6c91f9", "sha256": "8d0005a8c2e6abe69529e9cda7b66c94283ed80372b4395e594d08188a523f2b" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.0b2-py2-none-any.whl", "has_sig": false, "md5_digest": "1dba1687d5f68a15968767b5ad6c91f9", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3727, "upload_time": "2018-06-10T20:34:13", "url": "https://files.pythonhosted.org/packages/11/ff/ddf019b6c435738f0a24e2d75f4163d7b22dcf89c77165e9976aa4e988c2/lektor_pythonmarkdown-1.0b2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d7db082a796395f0447b3eea7181c4e", "sha256": "c82b0ef208c141003986b45f009388862d73e680b9996e313cd841b51deec225" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.0b2.tar.gz", "has_sig": false, "md5_digest": "7d7db082a796395f0447b3eea7181c4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5040, "upload_time": "2018-06-10T20:34:14", "url": "https://files.pythonhosted.org/packages/36/db/d02b2a830074ab765b9ee37684dc59353f766f12be3aa2287a56c8d90624/lektor-pythonmarkdown-1.0b2.tar.gz" } ], "1.0b3": [ { "comment_text": "", "digests": { "md5": "adb9f21bba1e51ac3e24d2f2dcf503a0", "sha256": "f9136cbcc80c49748c5ef9e23370f8fe4084cc11361af443c9faea800fe1b23d" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.0b3-py2-none-any.whl", "has_sig": false, "md5_digest": "adb9f21bba1e51ac3e24d2f2dcf503a0", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4418, "upload_time": "2018-06-16T12:36:03", "url": "https://files.pythonhosted.org/packages/90/90/b080075db952b3b4360291e702b2b35e6417e25fe1c0270f72281b05a0eb/lektor_pythonmarkdown-1.0b3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6231986957a8dcf8bec011ac6ef85f4c", "sha256": "b0570968b211df36bbc8070da19a6d59eddc6c90a1ca71d7d3ab01ef84842f2b" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.0b3.tar.gz", "has_sig": false, "md5_digest": "6231986957a8dcf8bec011ac6ef85f4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5996, "upload_time": "2018-06-16T12:36:04", "url": "https://files.pythonhosted.org/packages/e1/50/d4cf99e7097b7827562c09e82918dc589020fab28d2f1355811d4270d5d5/lektor-pythonmarkdown-1.0b3.tar.gz" } ], "1.0b4": [ { "comment_text": "", "digests": { "md5": "fc0eea4e5616cea4dd825bf2d8a48f2b", "sha256": "a017299d127336389da95a090b864ba2084775677ba8729e6d12394db7a04945" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.0b4-py2-none-any.whl", "has_sig": false, "md5_digest": "fc0eea4e5616cea4dd825bf2d8a48f2b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4430, "upload_time": "2018-10-10T19:36:49", "url": "https://files.pythonhosted.org/packages/8b/bb/84f448f459a2539bccb3f7e4e987c0607fc33bba1814a22ca3d905e8a981/lektor_pythonmarkdown-1.0b4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "071818dcd472809763fd85c6fdb9f88a", "sha256": "c89ba94706bc1362929eccfa015d6ee54854a2dd01c905be716be344c0cfee80" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.0b4.tar.gz", "has_sig": false, "md5_digest": "071818dcd472809763fd85c6fdb9f88a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5998, "upload_time": "2018-10-10T19:36:50", "url": "https://files.pythonhosted.org/packages/9c/43/ea77b0c55b357ee341d72e4d06ee946d18cd55184e3b08f8affbfb27add5/lektor-pythonmarkdown-1.0b4.tar.gz" } ], "1.0b5": [ { "comment_text": "", "digests": { "md5": "97d9d41c4e2e0d1fa350a750114904dc", "sha256": "c7fa8e91e17f1740bea99516809b23fe6f88e294cfba77758e6c9d02097b0035" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.0b5-py2-none-any.whl", "has_sig": false, "md5_digest": "97d9d41c4e2e0d1fa350a750114904dc", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4422, "upload_time": "2018-10-10T19:49:45", "url": "https://files.pythonhosted.org/packages/73/f9/4d7bfd51e469c9832ab67fe1a61caad4491fd05a4005632fddc9106a242f/lektor_pythonmarkdown-1.0b5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5a1a35a80a4df88f133ca8d66197b0ee", "sha256": "a22c0d7e04ef5301b2126333ab5aa0a8d4f443efacf70a6ad4148743f6fcb3ee" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.0b5.tar.gz", "has_sig": false, "md5_digest": "5a1a35a80a4df88f133ca8d66197b0ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6091, "upload_time": "2018-10-10T19:49:46", "url": "https://files.pythonhosted.org/packages/45/6b/ff35a011286cc2509da36592f559cc4dc484ee5b18958af27a9b1277d10c/lektor-pythonmarkdown-1.0b5.tar.gz" } ], "1.0b6": [ { "comment_text": "", "digests": { "md5": "3224f76295f979c7bea37f5411e855d7", "sha256": "3700c97be9a28331c8e27cdc26266ff7edc2d0b282dbef873eea58e880a83111" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.0b6-py2-none-any.whl", "has_sig": false, "md5_digest": "3224f76295f979c7bea37f5411e855d7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4405, "upload_time": "2018-10-31T19:23:42", "url": "https://files.pythonhosted.org/packages/2a/1b/884e5ba6a8e35a70ed37e47ba1bfe061189253694fdc8d69db1c73b2ce93/lektor_pythonmarkdown-1.0b6-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5b8d046b68dd750fa10c9ccaa7b385e8", "sha256": "4af21c15577ece854aa927acac68b1c3c1187991f2992ddfcaddb1f63705a526" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.0b6.tar.gz", "has_sig": false, "md5_digest": "5b8d046b68dd750fa10c9ccaa7b385e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6083, "upload_time": "2018-10-31T19:23:43", "url": "https://files.pythonhosted.org/packages/1e/99/b99bbd8c8350df0374b3c69ee514052d9bebd678ee3fc8878192f234279c/lektor-pythonmarkdown-1.0b6.tar.gz" } ], "1.0b7": [ { "comment_text": "", "digests": { "md5": "1dca070f87362f7a97311de72dc9cfe0", "sha256": "bcc69867445a97dea65c0ae03b0393a5dcb47234a712e39dc257bff17eb537cd" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.0b7-py2-none-any.whl", "has_sig": false, "md5_digest": "1dca070f87362f7a97311de72dc9cfe0", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4409, "upload_time": "2018-10-31T19:39:04", "url": "https://files.pythonhosted.org/packages/86/39/211aa09e8bcff07c1a1d5cbe9f2a173a2aeb1eab9f5f58f660d8f9dda3d0/lektor_pythonmarkdown-1.0b7-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dab076615dc6f38e82362d9bb91a9947", "sha256": "06e53ca2afd23e9796786651fb470a023e900365b06d27297b050b90bf3583cc" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.0b7.tar.gz", "has_sig": false, "md5_digest": "dab076615dc6f38e82362d9bb91a9947", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 167405, "upload_time": "2018-10-31T19:39:05", "url": "https://files.pythonhosted.org/packages/73/4c/bb26258ff101519e163a2fa6b7000b86861e40a4c265a146103ca1a6556f/lektor-pythonmarkdown-1.0b7.tar.gz" } ], "1.0b8": [ { "comment_text": "", "digests": { "md5": "6bf6e1a0d7b422708379a9271b705642", "sha256": "5a6687767d270aa7b5bb47a57d4de0587bda729c173244097129c7e034bad506" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.0b8-py2-none-any.whl", "has_sig": false, "md5_digest": "6bf6e1a0d7b422708379a9271b705642", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4604, "upload_time": "2018-10-31T20:35:07", "url": "https://files.pythonhosted.org/packages/00/5f/173f193b73ad1f4c4d1cd74052a0527a3ad2a54549480a6b3cb9bbdd8009/lektor_pythonmarkdown-1.0b8-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3ffb31c07d355291bb35f1c53478a1a4", "sha256": "59887b88807a9d2da9be8bf2a55012591030b0f38e6b56fcc4e3c090274a9e20" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.0b8.tar.gz", "has_sig": false, "md5_digest": "3ffb31c07d355291bb35f1c53478a1a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 167594, "upload_time": "2018-10-31T20:35:09", "url": "https://files.pythonhosted.org/packages/3a/1d/c3a75d3cdfbd3f6fb9f0a38e9322af2b0b5f31cc489440b75e0b198c3f60/lektor-pythonmarkdown-1.0b8.tar.gz" } ], "1.0b9": [ { "comment_text": "", "digests": { "md5": "76fa6ee4f632625296554baecfc69719", "sha256": "1943582c503ab6efde517efca7fbfd77e8e2a0f65ccbc88a43c1128d146ca52e" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.0b9-py2-none-any.whl", "has_sig": false, "md5_digest": "76fa6ee4f632625296554baecfc69719", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4651, "upload_time": "2018-11-07T13:00:18", "url": "https://files.pythonhosted.org/packages/84/a2/654512890ec12d0115cf1f72ce857d30180363403d554c3cf14a544752f4/lektor_pythonmarkdown-1.0b9-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5ad32b7e521e457700abf392f8fcc5dd", "sha256": "9cc3778a5dec0b6927692af1c0759d6bf025b8f76e152e45f6eda7918539a344" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.0b9.tar.gz", "has_sig": false, "md5_digest": "5ad32b7e521e457700abf392f8fcc5dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 167644, "upload_time": "2018-11-07T13:00:20", "url": "https://files.pythonhosted.org/packages/b5/63/cec5d0c5aadeee0dd264988437fb9019ec9b68615db996c8fef325bc25af/lektor-pythonmarkdown-1.0b9.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "a7a5b602af1800b8616b5349143e5803", "sha256": "2885b63fae6b8bc157da28ce1be4fcdd0e9d2fcd90e3da09e2169b7c6936eca8" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "a7a5b602af1800b8616b5349143e5803", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4634, "upload_time": "2019-01-26T21:07:11", "url": "https://files.pythonhosted.org/packages/89/ed/b35dc03a8a525169974750cc02f6540758348c6bd866c1da9170f0efa9d7/lektor_pythonmarkdown-1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d353e1ff3bbec5244f63e84765b38794", "sha256": "9df9932f9a03a5f818a9a30ad235beb7be2e7f65a996beccc387b95aa5e44efa" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.1.tar.gz", "has_sig": false, "md5_digest": "d353e1ff3bbec5244f63e84765b38794", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 169569, "upload_time": "2019-01-26T21:07:13", "url": "https://files.pythonhosted.org/packages/34/76/8f12277d25150befe88852cd0e4811070fa1f9896be32272efe305817b55/lektor-pythonmarkdown-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "a2505db452402e1e114d1acd3af0ab9f", "sha256": "be5fd77eb64bdbdfa06c197595ffbce6f3c0cb0661a66e974054dc0ccadfd3d9" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "a2505db452402e1e114d1acd3af0ab9f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4832, "upload_time": "2019-01-27T13:41:24", "url": "https://files.pythonhosted.org/packages/c8/fc/5013c82771da051444a3611702a5348ea6612d1872401a587610aee5190a/lektor_pythonmarkdown-1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e909ee8df40c22e9a932749381156bfd", "sha256": "016f7036faddf575070ba7df813dee92d4589f45c601fb1d11dfca49e3bf5e9e" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.2.tar.gz", "has_sig": false, "md5_digest": "e909ee8df40c22e9a932749381156bfd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 168391, "upload_time": "2019-01-27T13:41:26", "url": "https://files.pythonhosted.org/packages/7b/80/5b3b417043ca67a55164185bdb11ac58104053e196574afe6a2927eb2c1f/lektor-pythonmarkdown-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a2505db452402e1e114d1acd3af0ab9f", "sha256": "be5fd77eb64bdbdfa06c197595ffbce6f3c0cb0661a66e974054dc0ccadfd3d9" }, "downloads": -1, "filename": "lektor_pythonmarkdown-1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "a2505db452402e1e114d1acd3af0ab9f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4832, "upload_time": "2019-01-27T13:41:24", "url": "https://files.pythonhosted.org/packages/c8/fc/5013c82771da051444a3611702a5348ea6612d1872401a587610aee5190a/lektor_pythonmarkdown-1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e909ee8df40c22e9a932749381156bfd", "sha256": "016f7036faddf575070ba7df813dee92d4589f45c601fb1d11dfca49e3bf5e9e" }, "downloads": -1, "filename": "lektor-pythonmarkdown-1.2.tar.gz", "has_sig": false, "md5_digest": "e909ee8df40c22e9a932749381156bfd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 168391, "upload_time": "2019-01-27T13:41:26", "url": "https://files.pythonhosted.org/packages/7b/80/5b3b417043ca67a55164185bdb11ac58104053e196574afe6a2927eb2c1f/lektor-pythonmarkdown-1.2.tar.gz" } ] }