simple_markdown v0.8.1 SimpleMarkdown.Parser

Parse the string with the given markdown ruleset.

For understanding of how rulesets work, check the Parsey docs.

Link to this section Summary

Functions

Get the default parsing rules.

Parse the string with the rules found in the config file.

Parse the string with the specified ruleset.

Get the current parsing rules.

Link to this section Functions

Link to this function

default_rules()

Specs

default_rules() :: [Parsey.rule()]

Get the default parsing rules.

Specs

parse(String.t()) :: [Parsey.ast()]

Parse the string with the rules found in the config file.

Link to this function

parse(input, rules)

Specs

parse(String.t(), [Parsey.rule()]) :: [Parsey.ast()]

Parse the string with the specified ruleset.

Specs

rules() :: [Parsey.rule()]

Get the current parsing rules.