Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Query Control

yuanzhixiangyuanzhixiang310 downloads

An experimental Obsidian plugin that adds additional control to queries

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

Note: Updated to work with Obsidian v1.7.0+.

This plugin adds additional functionality to Obsidian's search/query feature. The current version will add a control bar to each embedded query with various actions such as: collapse all, show context, sort, hide title, hide results, render markdown, and copy results.

Controls are added to embedded queries in Live Preview and Reading modes.

Each of the controls have defaults which can be defined in the plugin settings tab. So, if you wanted all embedded queries to render collapsed by default, you would go into the settings and change that default.

If you want to configure the controls on a per embedded query basis, this plugin implements an extended query syntax which allows for this. The full syntax looks like this:

```query
path: foo tag:#obsidian
title: custom query name
collapsed: true | false
context: true | false
hideTitle: true | false
hideResults: true | false
renderMarkdown: true | false
sort: alphabetical | alphabeticalReverse | byModifiedTime | byModifiedTimeReverse | byCreatedTime | byCreatedTimeReverse
```

Each of the extended keys are optional. If a key is not provided, the configured default will be used instead.

Demo

embedded-query-control

Installing via BRAT

Install the BRAT plugin via the Obsidian Plugin Browser and then add the beta repository "reply2za/obsidian-query-control"

Manually installing the plugin

  • Copy over main.js, manifest.json to your vault VaultFolder/.obsidian/plugins/query-control/.

Developing and testing in Obsidian

  • Put this repository directly under VaultFolder/.obsidian/plugins/query-control/.
  • Run pnpm install.
  • Run pnpm dev to watch and rebuild main.js in place whenever you change src/*.ts.
  • In Obsidian, reload the app or disable and re-enable the plugin after each rebuild.
HealthExcellent
ReviewCaution
About
Add a control bar to embedded queries in Live Preview and Reading modes with actions to collapse, show context, sort, hide title or results, render Markdown, and copy results. Set default behavior in settings or override per query with an extended query syntax.
SearchInterface
Details
Current version
0.7.19
Last updated
Last month
Created
4 months ago
Updates
4 releases
Downloads
310
Compatible with
Obsidian 1.7.2+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
yuanzhixiangyuanzhixiang
GitHubyuanzhixiang
  1. Community
  2. Plugins
  3. Search
  4. Query Control

Related plugins

Floating Search

Search text by using Obsidian default search view.

Better Search Views

Upgrade global search, backlinks and queries with outliner-like context trees.

Settings Search

Globally search settings.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Note Toolbar

Add customizable toolbars to your notes.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.