diff --git a/README.md b/README.md index 4f5251b..e1addf0 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Create a countdown progress bar by adding a code block with the `countdown-to` l title: Project Deadline startDate: 2025-03-12T08:00:00 endDate: 2025-04-11T14:00:00 -type: Circle +type: circle color: #ff5722 trailColor: #f5f5f5 infoFormat: {percent}% complete - {remaining} until {end:LLL d, yyyy} diff --git a/manifest.json b/manifest.json index 7a497d4..f02e579 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "countdown-to", "name": "Countdown To", - "version": "1.3.1", + "version": "1.3.2", "minAppVersion": "0.15.0", "description": "Create countdown progress bars in your notes", "author": "Gui Cattani", diff --git a/src/modal.ts b/src/modal.ts index 3c4603f..b633e26 100644 --- a/src/modal.ts +++ b/src/modal.ts @@ -17,7 +17,7 @@ export class LuxonFormatHelpModal extends Modal { placeholdersList.createEl('li', { text: '{total} - Total duration (in days)' }); contentEl.createEl('h3', { text: 'Formatting' }); - contentEl.createEl('a', { href: 'https://moment.github.io/luxon/#/formatting?id=table-of-tokens', text: 'Luxon Formatting Reference' }); + contentEl.createEl('a', { href: 'https://moment.github.io/luxon/#/formatting?id=table-of-tokens', text: 'Luxon formatting reference' }); contentEl.createEl('h4', { text: 'Date formatting' }); contentEl.createEl('p', { text: 'You can use Luxon formatting for dates (replace *format* with the format you want):' }); @@ -45,7 +45,7 @@ export class LuxonFormatHelpModal extends Modal { durationExamplesList.createEl('li', { text: '{percent}% complete - {remaining} left' }); durationExamplesList.createEl('li', { text: '{elapsed} elapsed out of {total} total' }); - contentEl.createEl('h3', { text: 'Common Luxon Formats' }); + contentEl.createEl('h3', { text: 'Common Luxon formats' }); const formatsTable = contentEl.createEl('table'); const headerRow = formatsTable.createEl('tr'); headerRow.createEl('th', { text: 'Format' });