simple_markdown v0.8.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

Functions

Callback implementation for Mix.Task.run/1.

Link to this section Functions

Callback implementation for Mix.Task.run/1.