Open RichSteele opened 2 years ago
There isn't any official API to add files into the cache, and from my digging there doesn't seem to be an unexposed one, either. It seems like there's a hard-coded list of extensions that Obsidian allows into the cache and that's it.
Options:
.cook.md
files (with appropriate conversion utilities) in order to allow them into the cache as .md
files (which breaks compatibility with anything else using CookLang). Discussion here: https://github.com/deathau/cooklang-obsidian/discussions/10Hmm I can try adding extensions for hooked plugin types into the cache extension list.
I have a simple query to return all recent changes in my vault:
However, .cook files are not returned from it. Guessing that dataview works from the cache and so the cooklang plugin needs to somehow inform either dataview or the cache of its files.