name | Habit Tracker | Information |
description | Tracks habits from the daily jots. | |
icon | query_stats | |
instructions | * Use inline tags to host each habit in its own note. A perfect place to put context about the habit itself. * Tag the habit note with the "habit" tag. You can use a custom one if you'd like, and remember to specify it in the plugin settings. * When referencing to that habit in a daily jot, place a checkbox in front of it to turn it into a "checklist item". That will enable picking it up for counting by this plugin. Alternatively, place the checkmark in the original habit name itself and the inline tags will automatically be considered a checklist item where used. In the latter case, remember to remove the checkmark when the intention is to use the inline tag after the counter, or else it will count as a checklist item too! * Note: the habit needs to be used in a daily jot to detect the date properly. * Add the {Habit Tracker} shortcut to insert a counter in any note, and follow the dialog to select which habit and which time span to use. If you want to keep your fingers on the keyboard, type the inline tag directly and insert a "0/0 this week |" at its start to turn it into a counter. * Use "last week", "this month", or "last month" as other options. * Tap on any counter or the inline tag in the note and click on "Update" button to update the counters in the whole of the note. * For easier use of the habit check marking, use the Inline Checkbox plugin Supports placing the counter in a table cell. Just enable the "In table?" option in the insert dialog. The inline tag is expected to be on the adjacent cell on the right to work properly. Please remember: this is a hack and the user experience is not awesome. Known issues: Amplenote doesn't seem to handle importing markdown with backticks (literal text) well, and replacing content that includes such breaks that content! Similar with tables, updating the counter inside a table cell sometimes breaks the table due to column width formatting. Not supported (yet anyway): counter in Rich footnotes | |
setting | The tag the habits are denoted with (leave empty for 'habit') | |
setting | The daily-jot tag you are using (leave empty for 'daily-jots') | |
setting | Switch day the week start (leave empty for locale default, otherwise enter anything here) | |
setting | Unticked checkmark (leave empty for 🔲) | |
setting | Ticked checkmark (leave empty for ✔) |
10 April 2024: Hello world
17 April 2024: Ability to update the counters.
19 April 2024: Dialog to insert a stat; Settings for specifying the daily jots tag, and the checkmarks.
21 April 2024: Option to change whether Sunday or Monday is the week start, to deviate from the locale if needed. Also added a progress bar.