{"repo":"Python-Markdown/github-links","free":true,"listed":false,"github":"https://github.com/Python-Markdown/github-links","clone":"git clone https://github.com/Python-Markdown/github-links.git","description":"Python-Markdown GitHub Links Extension","language":"Python","stars":15,"topics":["github","markdown","python-markdown"],"license":null,"category":"productivity","readme_excerpt":"Python-Markdown Github-Links Extension An extension to Python-Markdown which adds support for shorthand links to GitHub users, repositories, issues and commits. Installation To install the extension run the following command: Usage To use the extension simply include its name in the list of extensions passed to Python-Markdown. Configuration Options To set configuration options, you may pass them to Markdown's exension configs keyword... ... or you may import and pass the configs directly to an instance of the mdx gh links.GithubLinks class... The following configuration options are available: user A GitHub user name or organization. If no user or organization is specified in a GitHub link, then the value of this option will be used. repo A GitHub repository. If no repository is specified in a GitHub link, then the value of this option will be used. domain The domain of the host server for the repository. Defaults to https://github.com , but may be set to the root of a GitHub Enterprise Server. Syntax This extension implements shorthand to specify links to GitHub in various ways. All links in the generated HTML are assigned a gh-link class as well as a class unique to that type of link. See each type for the specific class assigned. Mentions Link directly to a GitHub user, organization or repository. Note that no verification is made that an actual user, organization or repository exists. As the syntax does not differentiate between users and organizations, all organizations ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Python-Markdown","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Python-Markdown/github-links/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."}