diff --git a/cliff.toml b/cliff.toml index 3b20b647..ec8c969e 100644 --- a/cliff.toml +++ b/cliff.toml @@ -34,7 +34,7 @@ body = """ {% macro commit(commit) -%} - [{{ commit.id | truncate(length=7, end="") }}]({{ "https://github.com/ratatui/ratatui/commit/" ~ commit.id }}) \ *({{commit.scope | default(value = "uncategorized") | lower }})* {{ commit.message | upper_first | trim }}\ - {% if commit.remote.username %} by @{{ commit.remote.username }}{%- endif -%}\ + {% if commit.remote.username %} by `@{{ commit.remote.username }}`{%- endif -%}\ {% if commit.remote.pr_number %} in [#{{ commit.remote.pr_number }}]({{ self::remote_url() }}/pull/{{ commit.remote.pr_number }}){%- endif %}\ {%- if commit.breaking %} [**breaking**]{% endif %} {%- if commit.body %}\n\n{{ commit.body | indent(prefix=" > ", first=true, blank=true) }}