gfm – Base module for GitHub-Flavored Markdown

class gfm.AutolinkExtension(*args, **kwargs)[source]

An extension that turns URLs into links.

class gfm.AutomailExtension(*args, **kwargs)[source]

An extension that turns email addresses into links.

class gfm.HiddenHiliteExtension(*args, **kwargs)[source]

A subclass of CodeHiliteExtension that doesn’t highlight on its own.

class gfm.SemiSaneListExtension(*args, **kwargs)[source]

An extension that causes lists to be treated the same way GitHub does.

class gfm.SpacedLinkExtension(*args, **kwargs)[source]

An extension that supports links and images with additional whitespace.

class gfm.StrikethroughExtension(*args, **kwargs)[source]

An extension that adds support for strike-through text between two ~~.

class gfm.TaskListExtension(*args, **kwargs)[source]

An extension that supports GitHub task lists. Both ordered and unordered lists are supported and can be separately enabled. Nested lists are supported.

Example:

- [x] milk
- [ ] eggs
- [x] chocolate
- [ ] if possible:
    1. [ ] solve world peace
    2. [ ] solve world hunger