{"repo":"jhermann/pygments-markdown-lexer","free":true,"listed":false,"github":"https://github.com/jhermann/pygments-markdown-lexer","clone":"git clone https://github.com/jhermann/pygments-markdown-lexer.git","description":":construction: [BETA, not feature complete] A Markdown lexer for Pygments to highlight Markdown code snippets.","language":"Python","stars":18,"topics":["pygments-lexer","markdown","syntax-highlighting"],"license":"Apache-2.0","category":"productivity","readme_excerpt":"pygments-markdown-lexer A Markdown lexer for Pygments to highlight Markdown code snippets. Installation Pygments Markdown Lexer can be installed via pip install pygments-markdown-lexer as usual, see releases for an overview of available versions. To get a bleeding-edge version from source, use these commands: See Contributing on how to create a full development environment. Usage Once installed, usually into a virtualenv, the pygments markdown lexer package is instantly visible to Pygments , since it defines a Setuptools entry point for registration. In order for Sphinx to load and recognize the custom lexer, add the pygments markdown lexer package name to the extensions list in conf.py . Then use it in a code-block as if it were a built-in, like this: .. code-block:: md Enables Pygments to handle Markdown in Sphinx code blocks . Both md and markdown are valid to specify the language for the code block. Contributing To create a working directory for this project, call these commands: Contributing to this project is easy, and reporting an issue or adding to the documentation also improves things for every user. You don’t need to be a developer to contribute. See CONTRIBUTING for more. References Specs Markdown Syntax Pygments Lexer Pygments Tokens Pygments Styles Style Gallery Python Regex Tools Sphinx Pygments Cookiecutter PyInvoke pytest tox Pylint twine bpython yolk3k Packages Rituals Acknowledgements Based in part on the pygments.lexers.markup lexers ( Georg Brandl and oth","default_branch":null,"files":null,"tree":[],"storefront":"/r/jhermann","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jhermann/pygments-markdown-lexer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}