View Source MarkdownFormatter
An Elixir formatter for Markdown files and sigils.
installation
Installation
def deps do
[
{:markdown_formatter, "~> 0.1", only: :dev, runtime: false}
]
end
usage
Usage
Add MarkdownFormatter
to the .formatter.exs
plugin list, and add .md
files
to the list of inputs.
[
plugins: [MixMarkdownFormatter],
inputs: [
"{mix,.formatter}.exs",
"{config,lib,test}/**/*.{ex,exs}",
"posts/*.{md,markdown}"
]
]