Skip to main content
HelixCommit includes five built-in formatters for rendering changelogs: Markdown, HTML, plain text, JSON, and YAML.

Formatter comparison


Markdown formatter

Generate GitHub-compatible Markdown.

render_markdown()

Changelog
required
Structured changelog object to render.
Returns: Formatted Markdown string

Example

Output format


HTML formatter

Generate styled HTML output.

render_html()

Changelog
required
Structured changelog object to render.
Returns: Formatted HTML string with embedded CSS

Example

Output format


Text formatter

Generate plain text output.

render_text()

Changelog
required
Structured changelog object to render.
Returns: Plain text string

Example

Output format


JSON formatter

Generate machine-readable JSON output for programmatic use.

render_json()

Changelog
required
Structured changelog object to render.
int
default:"2"
Number of spaces for JSON indentation.
Returns: JSON string representation of the changelog

Example

Output format


YAML formatter

Generate human-readable YAML output for CI/CD pipelines.

render_yaml()

Changelog
required
Structured changelog object to render.
bool
default:"False"
If True, use flow style (inline) for collections.
Returns: YAML string representation of the changelog

Example

Output format


Using all formatters

Generate output in all formats:

Custom formatters

Create your own formatter by implementing a rendering function:

Basic custom formatter

Template-based formatting

For more complex customization, use Jinja2 templates:

Complete example


Next steps

Changelog builder

Build changelogs from commits

Output formats

Learn about format selection

Python API

Complete API reference

Examples

See formatters in action