summaryrefslogtreecommitdiffstats
path: root/contrib/python/mdit-py-plugins/mdit_py_plugins/gfm_autolink/__init__.py
blob: 3db8cd6010cdc93767c49ee2d3c0361770deb5fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""GFM autolink extension plugin for markdown-it-py.

Implements the `GFM autolink extension
<https://github.github.com/gfm/#autolinks-extension->`_,
which recognises bare URLs (``http://``, ``https://``, ``www.``),
protocol links (``mailto:``, ``xmpp:``),
and bare email addresses without requiring angle brackets.

Ported from the Rust crate
`markdown_it_autolink <https://github.com/markdown-it-rust/markdown-it-plugins.rs>`_.
"""

from .index import gfm_autolink_plugin

__all__ = ("gfm_autolink_plugin",)