{ "info": { "author": "Armin Ronacher", "author_email": "armin.ronacher@active-4.com", "bugtrack_url": null, "classifiers": [ "Environment :: Plugins", "Environment :: Web Environment", "Framework :: Lektor", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License" ], "description": "# lektor-markdown-highlighter\n\nThis plugin adds support for syntax highlighting through Pygments to\nLektor's markdown support.\n\n## Enabling the Plugin\n\nTo enable the plugin run this command:\n\n```shell\nlektor plugins add markdown-highlighter\n```\n\n## Configuring the Plugin\n\nThe plugin has a config file that is used to configure a few things\nfor Pygments. Just create a file named `markdown-highlighter.ini` into your\n`configs/` folder. Currently only `pygments.style` is used:\n\n```ini\n[pygments]\nstyle = tango\n```\n\nYou can use this to select any of the built-in Pygments styles. Support for\ncustom styles will come in the future.\n\nThe config file is considered the \"source\" for the Pygments stylesheet, so you must create the configuration file (it can be empty) or Lektor's build will prune `pygments.css`.\n\n## In Markdown\n\nTo use the syntax highlighter you need to use fenced blocks and pass the name\nof the pygments lexer after the opening fence:\n\n ```python\n print(\"Hello World!\")\n ```\n\n## In Templates\n\nIn templates the plugin provides the `get_pygments_stylesheet` function which\ncan be used to generate and retrieve a link to the pygments stylesheet:\n\n```jinja\n\n```\n\nIn addition the `|pygmentize` filter can be used to highlight code from\ntemplates. It takes one argument which is the lexer name:\n\n```jinja\n{{ 'print \"Hello World!\"'|pygmentize('python') }}\n```\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": "http://github.com/lektor/lektor-markdown-highlighter", "keywords": "Lektor plugin markdown static-site blog syntax-highlighter Pygments", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "lektor-markdown-highlighter", "package_url": "https://pypi.org/project/lektor-markdown-highlighter/", "platform": "", "project_url": "https://pypi.org/project/lektor-markdown-highlighter/", "project_urls": { "Homepage": "http://github.com/lektor/lektor-markdown-highlighter" }, "release_url": "https://pypi.org/project/lektor-markdown-highlighter/0.3.1/", "requires_dist": [ "Pygments" ], "requires_python": "", "summary": "Lektor plugin that adds syntax highlighting for markdown blocks with Pygments.", "version": "0.3.1" }, "last_serial": 4740774, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7e4e0189520def99a0b2f0a693302868", "sha256": "85ed80344fd3f44c851370f0e0003951d2afab969d87fa8ef7fd0608f3bc9634" }, "downloads": -1, "filename": "lektor_markdown_highlighter-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "7e4e0189520def99a0b2f0a693302868", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3247, "upload_time": "2015-12-24T23:11:32", "url": "https://files.pythonhosted.org/packages/4b/f0/dcdfddcbccdb0268c79b746b181642b61cd36a3c6681d64ad4b4704049c8/lektor_markdown_highlighter-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "20e8ae543c432b478dd433c588ef7d86", "sha256": "255b4b906c04a4172c7339bf8f26ce3fe1b95a0093dc1b26b76a363c7cac1660" }, "downloads": -1, "filename": "lektor-markdown-highlighter-0.1.tar.gz", "has_sig": false, "md5_digest": "20e8ae543c432b478dd433c588ef7d86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2989, "upload_time": "2015-12-24T23:07:35", "url": "https://files.pythonhosted.org/packages/41/8e/757172e431a43691ca25dc84935c705f3beb2c5dac398cb89ac9c89a4baa/lektor-markdown-highlighter-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "43c3b35e927247d3a64413147b436d19", "sha256": "1c20a6177b55db230747a4f296854caecb54c9e80692f7b3cd48f4cfaa95e3e8" }, "downloads": -1, "filename": "lektor-markdown-highlighter-0.2.tar.gz", "has_sig": false, "md5_digest": "43c3b35e927247d3a64413147b436d19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2952, "upload_time": "2017-10-12T19:55:38", "url": "https://files.pythonhosted.org/packages/53/47/5da48aa7d5c11d4784072d87748d357ca258da99f906f71639dca6777eb8/lektor-markdown-highlighter-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "e48fc42e8bf3ac61edf06f20d9584446", "sha256": "c1f2abcdc69616a168e1e3e72d8c4207b34cc525d56515d3e23f27ee8629b138" }, "downloads": -1, "filename": "lektor_markdown_highlighter-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e48fc42e8bf3ac61edf06f20d9584446", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3116, "upload_time": "2018-05-12T19:14:09", "url": "https://files.pythonhosted.org/packages/fb/c8/422a2b862df0d9fb518bcf4e14ce0ca900b2542c8f4db18a66898d3f0e0c/lektor_markdown_highlighter-0.3-py3-none-any.whl" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "72bbb773d869e48c3dcf2550f94fb8c6", "sha256": "e9fe5f7bd11d7a072e262ca094d25edef7eeeba5d81d8b37518fa391d0a6555f" }, "downloads": -1, "filename": "lektor_markdown_highlighter-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "72bbb773d869e48c3dcf2550f94fb8c6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4215, "upload_time": "2019-01-25T16:39:36", "url": "https://files.pythonhosted.org/packages/ef/c8/d083e5835c790a0e15eb65f4889bd8e99864c5732cf8d5dbc7ee1bd90f88/lektor_markdown_highlighter-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c7e9e989d6739aff4ee76e675053c26a", "sha256": "ce257b608a2094540702209f99e28b546581777a67882cebc8e8dabb6429422e" }, "downloads": -1, "filename": "lektor-markdown-highlighter-0.3.1.tar.gz", "has_sig": false, "md5_digest": "c7e9e989d6739aff4ee76e675053c26a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3635, "upload_time": "2019-01-25T16:39:37", "url": "https://files.pythonhosted.org/packages/85/81/7242013546456ca96265752ecb447919fe5c937e8f22b8cdd969bebf9e0d/lektor-markdown-highlighter-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "72bbb773d869e48c3dcf2550f94fb8c6", "sha256": "e9fe5f7bd11d7a072e262ca094d25edef7eeeba5d81d8b37518fa391d0a6555f" }, "downloads": -1, "filename": "lektor_markdown_highlighter-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "72bbb773d869e48c3dcf2550f94fb8c6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4215, "upload_time": "2019-01-25T16:39:36", "url": "https://files.pythonhosted.org/packages/ef/c8/d083e5835c790a0e15eb65f4889bd8e99864c5732cf8d5dbc7ee1bd90f88/lektor_markdown_highlighter-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c7e9e989d6739aff4ee76e675053c26a", "sha256": "ce257b608a2094540702209f99e28b546581777a67882cebc8e8dabb6429422e" }, "downloads": -1, "filename": "lektor-markdown-highlighter-0.3.1.tar.gz", "has_sig": false, "md5_digest": "c7e9e989d6739aff4ee76e675053c26a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3635, "upload_time": "2019-01-25T16:39:37", "url": "https://files.pythonhosted.org/packages/85/81/7242013546456ca96265752ecb447919fe5c937e8f22b8cdd969bebf9e0d/lektor-markdown-highlighter-0.3.1.tar.gz" } ] }