From ef6f788e5eca15c80a1d9a71f9d421269752aac1 Mon Sep 17 00:00:00 2001 From: ypresion Date: Sat, 10 Oct 2020 21:33:08 +0100 Subject: [PATCH] added text highlighting --- index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 7bf0a23..dac99b0 100644 --- a/index.js +++ b/index.js @@ -21,24 +21,24 @@ async function updateReadme(data) { const { karma, completed_count, days_items, goals, week_items } = data; - const karmaPoint = [`🏆 ${Humanize.intComma(karma)} Karma Points`]; + const karmaPoint = [`🏆 **${Humanize.intComma(karma)}** Karma Points`]; todoist.push(karmaPoint); const dailyGoal = [ - `🌸 Completed ${days_items[0].total_completed.toString()} tasks today`, + `🌸 Completed **${days_items[0].total_completed.toString()}** tasks today`, ]; todoist.push(dailyGoal); if(PREMIUM) { - const weekItems = [`🗓 Completed ${week_items[0].total_completed.toString()} tasks this week`]; + const weekItems = [`🗓 Completed **${week_items[0].total_completed.toString()}** tasks this week`]; todoist.push(weekItems); } - const totalTasks = [`✅ Completed ${Humanize.intComma(completed_count)} tasks so far`]; + const totalTasks = [`✅ Completed **${Humanize.intComma(completed_count)}** tasks so far`]; todoist.push(totalTasks); const longestStreak = [ - `⏳ Longest streak is ${goals.max_daily_streak.count} days`, + `⏳ Longest streak is **${goals.max_daily_streak.count}** days`, ]; todoist.push(longestStreak);