Skip to content

Search

markymark provides several ways to search across your workspace — from quick symbol lookup in your editor to structured queries via MCP tools. Each mode serves a different use case.

Find headings, tags, and inline code references by name across all files.

In your editor: Press Ctrl+T (Cmd+T on macOS) to open workspace symbol search. Start typing and markymark fuzzy-matches against every heading, tag, and backtick code reference in the index. Results update as you type.

With MCP:

search-symbols: { "query": "authentication" }

Returns matching symbols with file URIs and position ranges. The match is fuzzy — partial names and abbreviations work.

Rank document sections by relevance to a natural-language query.

With MCP:

semantic-search: { "query": "how to configure SSL", "top_k": 5 }

Returns the top matching sections with a relevance score, heading text, and a section preview. Use top_k to control how many results come back (default varies by configuration) and min_score to filter low-confidence matches.

Semantic search is MCP-only — it is designed for agent workflows where ranking by relevance matters more than exact text matching.

Search document content with metadata filters.

With MCP:

search-workspace: { "query": "deployment", "limit": 20 }

This searches across document titles and content. You can narrow results with filters:

search-workspace: {
"query": "setup",
"tag_filter": "guide",
"frontmatter_filter_key": "status",
"frontmatter_filter_value": "published"
}

Filters match against frontmatter fields, Logseq-style properties, and tags.

Search file content with regular expressions, including context lines.

With MCP:

search-for-pattern: {
"pattern": "TODO|FIXME",
"context_lines": 2,
"case_insensitive": true
}

Returns each match with surrounding context lines, file URI, line number, and column. Use include_glob to restrict matches to specific file patterns (e.g., "*.md").

  • Symbol search is the fastest way to find a heading — use Ctrl+T in your editor.
  • Use search-for-pattern for text that isn’t in headings or tags (body content, code blocks, TODO markers).
  • Combine search-workspace filters to find documents by metadata without needing to know their file paths.