-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMarkdownImageGenerator.py
More file actions
61 lines (54 loc) · 1.74 KB
/
MarkdownImageGenerator.py
File metadata and controls
61 lines (54 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# smol script to generate the markdown-tags for a list of 38 images.
# lol, never do something manually what you can automate in 2 hrs..
# author: mail@marcelpetrick.it
# license: GPL v3.0
#-----------------------------------------------------------------
def makeTwoDigitsString(number):
numStr = str(number)
if len(numStr) == 1:
numStr = "0" + numStr
return numStr
#-----------------------------------------------------------------
for number in range(1, 38):
result = " + ".png)"
print(result)
print("-----") # added to have a separator, because white-bordered screenshots on white background are not distinguishable
#-----------------------------------------------------------------
# result:
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 
# 