simple_markdown v0.7.0 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()
default_rules() :: [Parsey.rule()]

Get the default parsing rules.

Link to this function parse(input)
parse(String.t()) :: [Parsey.ast()]

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

Link to this function parse(input, rules)
parse(String.t(), [Parsey.rule()]) :: [Parsey.ast()]

Parse the string with the specified ruleset.

Link to this function rules()
rules() :: [Parsey.rule()]

Get the current parsing rules.