ex_doc_simple_markdown v0.3.2 ExDocSimpleMarkdown.Extension behaviour

Link to this section Summary

Callbacks

A callback called once before any conversion/doc generation is performed. Use this to perform any required initialisation

A callback to modify the text input

A callback to modify the HTML output

A callback to modify the rule list before converting

Link to this section Callbacks

Link to this callback init()
init() :: :ok

A callback called once before any conversion/doc generation is performed. Use this to perform any required initialisation.

Link to this callback input(text, opts)
input(text :: String.t(), opts :: any()) :: String.t()

A callback to modify the text input.

Link to this callback output(html, opts)
output(html :: String.t(), opts :: any()) :: String.t()

A callback to modify the HTML output.

Link to this callback rules(rules, opts)
rules(rules :: [Parsey.rule()], opts :: any()) :: [Parsey.rule()]

A callback to modify the rule list before converting.