Skip to content

Commit 7aaeba3

Browse files
authored
Make sure the screenshots render correctly
1 parent 21a464d commit 7aaeba3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

appstore/discourse.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
PLATFORM_EMOJI = {
99
'aplite': ':pebble-orange:',
1010
'basalt': ':pebble-time-red:',
11-
'chalk': 'pebble-time-round-14-rainbow',
12-
'diorite': 'pebble-2-aqua',
13-
'emery': 'core-time-2-red',
14-
'flint': 'core-2-duo-black'
11+
'chalk': ':pebble-time-round-14-rainbow:',
12+
'diorite': ':pebble-2-aqua:',
13+
'emery': ':core-time-2-red:',
14+
'flint': ':core-2-duo-black:'
1515
}
1616

1717
if config['DISCOURSE_API_KEY'] is None:
@@ -72,7 +72,7 @@ def screenshot_section(app):
7272
screenshots = asset_collections[platform].screenshots
7373
output += f"### {PLATFORM_EMOJI[platform]} {platform.title()} screenshots:\n\n"
7474
if index != 0:
75-
output += '[details="Expand"]'
75+
output += "[details=\"Expand\"]\n"
7676
output += f"|{''.join(['|' for screenshot in screenshots])}\n"
7777
output += f"|{''.join(['-|' for screenshot in screenshots])}\n"
7878
screenshot_section = ''.join([f"![Screenshot {s_index}]({generate_image_url(screenshot)})|" for s_index, screenshot in enumerate(screenshots)])

0 commit comments

Comments
 (0)