Changix v0.3.0 Changix.HTML View Source
Changix.HTML
provides a render_content/2
function to tranform Changix.Entry
content into HTML.
Link to this section Summary
Functions
Renders a Changix.Entry
content into HTML.
Takes following options
Link to this section Functions
Renders a Changix.Entry
content into HTML.
Takes following options :
- summary: if true, only renders content above
<!--more-->
markup - read_more_class: css class given to the read_more link. Defaults to
read-more
- read_more_label: label of the read_more link. Defaults to
Read more
- renderer: function that takes markdown and changelog path and should return
{:ok, safe_html}
or{:error, reason}
. Defaults toEarmark
, if available.