1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-22 22:24:43 +02:00

Added zoomed in snapshot for peek scripts

This commit is contained in:
Thomas Bui
2020-12-28 18:32:49 -08:00
parent 4ec9d85805
commit eb6884db84
15 changed files with 159 additions and 28 deletions

View File

@@ -0,0 +1,16 @@
from typing import List
def generate_screenshot_markdown(img_urls: List[str]):
"""
Generate the markdown for the screenshots using the
img_urls then print it to the console.
:param img_urls are valid image links.
"""
template = "![Detailed Screenshot]({})"
return [template.format(img_url) for img_url in img_urls]
if __name__ == "__main__":
markdown = generate_screenshot_markdown()
print("\n\n".join(markdown)) # format it before printing