View Source ExDoc.Markdown.Earmark (ExDoc v0.35.1)

ExDoc extension for the EarmarkParser Markdown parser.

Summary

Functions

Generate HTML AST.

Functions

to_ast(text, opts)

Generate HTML AST.

Options

  • :gfm - (boolean) turns on Github Flavored Markdown extensions. Defaults to true.

  • :breaks - (boolean) only applicable if gfm is enabled. Makes all line breaks significant (so every line in the input is a new line in the output).