From 201eeace96afe5f6b5d6c7ea19fd1d0de3323f58 Mon Sep 17 00:00:00 2001 From: Bhupesh-V Date: Wed, 3 Jan 2024 12:52:54 +0530 Subject: [PATCH] use bold instead of code --- community-threads/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community-threads/main.py b/community-threads/main.py index 1539013..0e4b7fe 100644 --- a/community-threads/main.py +++ b/community-threads/main.py @@ -68,7 +68,7 @@ def update_wiki(reddit, wikipage, posts): # Add the posts for this year for post in posts_by_year[year]: formatted_date = datetime.strptime(post['created_at'], '%Y-%m-%dT%H:%M:%S').strftime('%d %b, %Y') - content += f"- `{formatted_date}` [`{post['title']}`]({post['url']})\n\n" + content += f"- `{formatted_date}` [**{post['title']}**]({post['url']})\n\n" # given a wiki link, update the wiki page with new markdown wikipage = reddit.subreddit(sub).wiki[wikipage]