Skip to content

Commit

Permalink
use json syntax highlighting for changelog in telegram announce
Browse files Browse the repository at this point in the history
  • Loading branch information
pcroland committed Dec 27, 2023
1 parent aee8dd9 commit 30f0d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev_scripts/post/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def main():
"chat_id": to,
"parse_mode": "html",
"disable_web_page_preview": "true",
"text": f'<a href="https://github.com/pcroland/deew/releases/tag/{version}">{version}</a> is out!\n\nChangelog:\n<pre>{changelog}</pre>'
"text": f'<a href="https://github.com/pcroland/deew/releases/tag/{version}">{version}</a> is out!\n\nChangelog:\n<pre><code class="language-json">{changelog}</code></pre>'
}
)
r.raise_for_status()
Expand Down

0 comments on commit 30f0d84

Please sign in to comment.