This repository was archived by the owner on Jul 28, 2025. It is now read-only.
Replies: 1 comment 1 reply
-
|
Hello! I just investigate and the Obsidian API for that is metadataCache. The formula that you need in a javascript is: function isSectionExist(row,sectionString){
const headings = app.metadataCache.getFileCache(row.__note__.getFile()).headings;
return headings.some(h => h.heading===sectionString);
}
module.exports = isSectionExistFormula: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I'm guessing I need to use a formula column, but it's not obvious what api I'd need to use. Supposedly Obsidian's built in queries allow selecting sections..
Beta Was this translation helpful? Give feedback.
All reactions