You've already forked wakapi-readme-stats
lint and section header
This commit is contained in:
@@ -151,6 +151,6 @@ class GitHubManager:
|
||||
|
||||
else:
|
||||
DBM.i("Inlining chart...")
|
||||
hint = f"You can use [this website](https://codebeautify.org/base64-to-image-converter) to view the generated 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"<details>\n\t<summary>Base64 encoded image</summary>\n\t```\t\n{encoded_image}\t\n```</details>\n\n{hint}"
|
||||
return f"<details>\n <summary>{hint}</summary>\n ```\n {encoded_image}\n ```</details>\n"
|
||||
|
||||
Reference in New Issue
Block a user