class documentation

class CodeHiliteExtension(Extension): (source)

View In Hierarchy

Add source code highlighting to markdown codeblocks.

Method __init__ Initiate Extension and set up configs.
Method extendMarkdown Add HilitePostprocessor to Markdown instance.
Instance Variable config Undocumented

Inherited from Extension:

Method getConfig Return a setting for the given key or an empty string.
Method getConfigInfo Return all config descriptions as a list of tuples.
Method getConfigs Return all configs settings as a dict.
Method setConfig Set a config setting for `key` with the given `value`.
Method setConfigs Set multiple config settings given a dict or list of tuples.
def __init__(self, **kwargs): (source)

Initiate Extension and set up configs.

def extendMarkdown(self, md): (source)

Add HilitePostprocessor to Markdown instance.