You're seeing just the function to_ast, go back to ExDoc.Markdown.Earmark module for more information.

Generate HTML AST.


  • :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).

  • :smartypants - (boolean) turns on smartypants processing, so quotes become curly, two or three hyphens become en and em dashes, and so on. Defaults to false.