ford.md_striped_table module#

class ford.md_striped_table.StripedTableCSSExtension(**kwargs)#

Bases: Extension

Add CSS class to alternate rows in table

extendMarkdown(md, *args, **kwargs)#

Add the various processors and patterns to the Markdown Instance.

This method must be overridden by every extension.

Keyword arguments:

  • md: The Markdown instance.

class ford.md_striped_table.StripedTableCSSTreeprocessor(md=None)#

Bases: Treeprocessor


Subclasses of Treeprocessor should implement a run method, which takes a root ElementTree. This method can return another ElementTree object, and the existing root ElementTree `will be replaced, or it can modify the current tree and return `None.