Skip to content

Commit

Permalink
added text highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
ypresion committed Oct 10, 2020
1 parent d2ac2dd commit ef6f788
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ef6f788

Please sign in to comment.