MIT License
This Obsidian plugin shows admonitions if the note has not been updated for over specific days.
You can download via Community plugins
> Browse
.
If today is 2022-09-11 and the date on the note is 2022-09-01,
10 days passed!
if you set ${numberOfDays} days passed!
10 days passed since 2022-09-01
if you set ${numberOfDays} days passed since ${date}
Default: The following content hasn't been updated in the last ${numberOfDays} days
The setting is to decide what to reference the date from.
Default: Modified time
File last modified date ( = TFile.stat.mtime).
The Front matter key
option can specify any key name.
Default: updated
If you set ^// updated: (?<date>[0-9]{4}/[0-9]{2}/[0-9]{2})
to Capture group pattern
, the date is extracted as follows.
Default: ^// (?<date>[0-9]{4}/[0-9]{2}/[0-9]{2})
If today is 2022-09-11 and the date on the note is 2022-09-01.
Default: 180
On open file
: Update a warning after switching an active fileOn open or save file
: Update a warning after switching an active file or (auto) saving a fileIf set, It doesn't show a warning in the file whose path starts with one of the patterns. It can set multi patterns by line breaks.
For example, You want to ignore the following files.
Daily Report/10/2022-10-01.md
Daily Report/10/2022-10-02.md
Daily Report/11/2022-11-05.md
Daily Report/11/2022-11-06.md
You have to set
Daily Report/
or
Daily Report/10/
Daily Report/11/
You can customize the style of admonitions by editing the following classes.
.old-note-admonitor__old-note-container
.old-note-admonitor__old-note-container:before
.old-note-admonitor__old-note-container__warning
.old-note-admonitor__old-note-container__warning:before
.old-note-admonitor__old-note-container__error
.old-note-admonitor__old-note-container__error:before
For details, please show style.css
.
task init
task dev
task release VERSION=1.2.3