From 03d0a9a91b98a16bb4c7ec75001a7800aa564c57 Mon Sep 17 00:00:00 2001 From: pseusys Date: Sun, 26 Feb 2023 13:43:53 +0100 Subject: [PATCH] multiline code block used --- sources/manager_github.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sources/manager_github.py b/sources/manager_github.py index cdb5914..511c6d8 100644 --- a/sources/manager_github.py +++ b/sources/manager_github.py @@ -151,6 +151,5 @@ class GitHubManager: else: DBM.i("Inlining chart...") - hint = 'You can use this website to view the generated base64 image.' - encoded_image = f"data:image/png;base64,{b64encode(data).decode('utf-8')}" - return f"
\n {hint}\n {encoded_image}\n
\n" + hint = "You can use [this website](https://codebeautify.org/base64-to-image-converter) to view the generated base64 image." + return f"{hint}\n```\n\tdata:image/png;base64,{b64encode(data).decode('utf-8')}\n```\n\n"