ExDoc.Markdown behaviour (ex_doc v0.22.4)

Adapter behaviour and conveniences for converting Markdown to HTML.

ExDoc is compatible with any markdown processor that implements the functions defined in this module. The markdown processor can be changed via the :markdown_processor option in your mix.exs.

ExDoc supports the following Markdown parsers out of the box:

ExDoc uses EarmarkParser by default.

Summary

Functions

Gets the current markdown processor set globally.

Changes the markdown processor globally.

Converts the given markdown document to HTML AST.

Callbacks

Converts markdown into HTML.

Functions

get_markdown_processor()

Gets the current markdown processor set globally.

put_markdown_processor(processor)

Changes the markdown processor globally.

to_ast(text, opts \\ [])

Converts the given markdown document to HTML AST.

Callbacks

to_ast(arg1, arg2)

Specs

to_ast(String.t(), Keyword.t()) :: term()

Converts markdown into HTML.