Skip to content
Discussion options

You must be logged in to vote

Following up here since this thread never got its ending: the option you wished for shipped via your issue #998 (QuickAdd 2.12.0). Code blocks are still excluded by default - that stays as a safety default - but you can now opt specific fence types in by name:

const values = await quickAddApi.fieldSuggestions.getFieldValues("Id", {
    includeInline: true,
    includeInlineCodeBlocks: ["ad-note"],
});

That picks up your Id:: field inside the ad-note admonition. Docs (your exact case is the example there): https://quickadd.obsidian.guide/docs/QuickAddAPI#field-suggestions-module

Thanks for filing the issue - closing this as resolved.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@chhoumann
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by stecydube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants