You could write a script that monitors the file system for changes and adds/updates the timestamp inside .md files whenever a change is detected. You could probably also use the api for that.