commit: what happens if I move the emoji?

This commit is contained in:
Alec Muffett 2019-12-05 15:50:28 +00:00
parent 62d3edf163
commit 4a34c9d261
2 changed files with 258 additions and 258 deletions

512
README.md

File diff suppressed because it is too large Load Diff

View File

@ -238,11 +238,11 @@ def print_chunk(chunk, title, description=None, print_bar=True):
for row in sort_using(chunk, 'site_name'):
url = row['onion_url']
padlock = EMOJI_HTTPS if url.startswith('https') else EMOJI_HTTP
print(H3, '[{site_name}]({onion_url})'.format(**row))
print(H3, '[{site_name}]({onion_url})'.format(**row), padlock)
comment = get_placeholder(row, 'comment')
if comment != '-': print('*{}*'.format(comment))
# linky-linky, with https-emoji
print(B, 'link: [{0}]({0})'.format(url), padlock)
print(B, 'link: [{0}]({0})'.format(url))
# apparently some people like copying and pasting plain text
print(B, 'plain: `{0}`'.format(url))
# print proof unconditionally, as encouragement to fix it