simple_markdown v0.7.0 mix simple_markdown.rules.new
Generates the standard rules config.
mix simple_markdown.rules.new [--format] [-o PATH]
A --format
option can be used to indicate that the output be formatted according to the auto formatter.
A -o
option can be used to specify the file to be written. Defaults
to "config/simple_markdown_rules.exs"
if a path is not provided.
The rules config should be imported into the app’s config.exs
import_config "simple_markdown_rules.exs"
The rule config may be changed to suit your needs, if new rules are added or you wish the rendering behaviour of current rules to be changed this can be done by defining new rendering implementations for those rules.
Link to this section Summary
Link to this section Functions
Link to this function
run(env)
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.