You've already forked wakapi-readme-stats
multiline code block used
This commit is contained in:
@@ -151,6 +151,5 @@ class GitHubManager:
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
DBM.i("Inlining chart...")
|
DBM.i("Inlining chart...")
|
||||||
hint = 'You can use <a href="https://codebeautify.org/base64-to-image-converter">this website</a> to view the generated base64 image.'
|
hint = "You can use [this website](https://codebeautify.org/base64-to-image-converter) to view the generated base64 image."
|
||||||
encoded_image = f"data:image/png;base64,{b64encode(data).decode('utf-8')}"
|
return f"{hint}\n```\n\tdata:image/png;base64,{b64encode(data).decode('utf-8')}\n```\n\n"
|
||||||
return f"<details>\n <summary>{hint}</summary>\n <code>{encoded_image}</code>\n</details>\n"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user