ex_doc_simple_markdown v0.2.1 ExDocSimpleMarkdown
A SimpleMarkdown processor for ExDoc.
Provides configurable options for the assets (:assets
),
before_closing_head_tag (:head_tag
), before_closing_body_tag
(:body_tag
) behaviours defined by ExDoc. As well as the option
to enable or disable pretty codeblocks (:pretty_codeblocks
),
manipulate the rules (:rules
), and change the renderer (:renderer
).
config :ex_doc_simple_markdown, [
assets: [{ "dist/hello-js.js", "alert('hello');" }],
head_tag: "<script src=\"dist/hello-js.js\"></script>",
body_tag: "<script>alert('goodbye');</script>",
pretty_codeblocks: false,
rules: fn rules ->
# Manipulate the rules
rules
end,
renderer: &MyHTMLRenderer.render/1
]