* 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.
* 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 pluginSupports 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