mq
A jq-like Markdown query language for command-line processing
File Explorer
- mq-check.md
- mq-crawler.md
- mq-dap.md
- mq-ffi.md
- mq-formatter.md
- mq-hir.md
- mq-lang.md
- mq-lsp.md
- mq-markdown.md
- mq-repl.md
- mq-run.md
- mq-wasm.md
- mq-web-api.md
- cli.instructions.md
- commit.instructions.md
- docs.instructions.md
- general.instructions.md
- lsp.instructions.md
- markdown.instructions.md
- rust-crate.instructions.md
- testing.instructions.md
- bug_report.yml
- config.yml
- feature_request.yml
- code-review.md
- fix-input.md
- fix-issue.md
- audit.yml
- bench.yml
- cargo-publish.yml
- ci.yml
- codeql.yml
- ffi-ci.yml
- gfm-spec.yml
- jetbrains-ci.yml
- node-ci.yml
- npm-publish.yml
- pages.yml
- release.yml
- typos.yml
- unused-deps.yml
- vscode-ci.yml
- zizmor.yml
- CODE_OF_CONDUCT.md
- codecov.yml
- copilot-instructions.md
- dependabot.yml
- PRIVACY.md
- PULL_REQUEST_TEMPLATE.md
- launch.json
- demo.gif
- demo.md
- demo.tape
- logo.png
- logo.svg
- mq.sublime-syntax
- ogp.svg
- categories.rs
- helpers.rs
- pipe.rs
- json.rs
- markdown.rs
- sarif.rs
- builtin.rs
- constraint.rs
- deferred.rs
- exhaustiveness.rs
- format.rs
- infer.rs
- lib.rs
- main.rs
- narrowing.rs
- types.rs
- unify.rs
- error_location_test.rs
- integration_test.rs
- type_errors_test.rs
- .gitignore
- Cargo.toml
- README.md
- crawler.rs
- http_client.rs
- lib.rs
- main.rs
- robots.rs
- sitemap.rs
- Cargo.toml
- LICENSE
- README.md
- adapter.rs
- error.rs
- executor.rs
- handler.rs
- lib.rs
- log.rs
- protocol.rs
- server.rs
- Cargo.toml
- LICENSE
- README.md
- lib.rs
- .gitignore
- build.rs
- Cargo.toml
- LICENSE
- Makefile
- mq.h
- README.md
- test_mq.c
- benchmark.rs
- formatter.rs
- lib.rs
- main.rs
- integration_tests.rs
- Cargo.toml
- LICENSE
- README.md
- catalog.rs
- lib.rs
- reference.rs
- Cargo.toml
- README.md
- demo.gif
- logo.svg
- lower.rs
- query.rs
- builtin.rs
- error.rs
- find.rs
- hir.rs
- lib.rs
- reference.rs
- resolve.rs
- scope.rs
- source.rs
- symbol.rs
- Cargo.toml
- LICENSE
- demo.gif
- logo.svg
- benchmark.rs
- extract_js_code.rs
- extract_list.rs
- extract_list1.rs
- extract_table.rs
- fibonacci.rs
- markdown_toc.rs
- snake_to_camel.rs
- json_stringify.snap
- json_to_markdown_table.snap
- section_content.snap
- section_flatten.snap
- table_to_markdown.snap
- toon_stringify.snap
- xml_to_markdown_table.snap
- yaml_to_json.snap
- yaml_to_markdown_table.snap
- cbor.mq
- csv.mq
- csv_test.mq
- fuzzy.mq
- fuzzy_test.mq
- gron.mq
- gron_test.mq
- json.mq
- json_test.mq
- md.mq
- md_test.mq
- section.mq
- section_test.mq
- semver.mq
- semver_test.mq
- table.mq
- table_test.mq
- test.mq
- toml.mq
- toml_test.mq
- toon.mq
- toon_test.mq
- xml.mq
- xml_test.mq
- yaml.mq
- yaml_test.mq
- code.rs
- constants.rs
- node.rs
- parser.rs
- error.rs
- incremental.rs
- node.rs
- parser.rs
- runtime.rs
- syntax.rs
- bytes.rs
- compress.rs
- convert.rs
- css.rs
- date.rs
- gron.rs
- http.rs
- io_context.rs
- path.rs
- random.rs
- range.rs
- regex.rs
- tokenizer.rs
- adapter.rs
- builtin.rs
- debugger.rs
- env.rs
- host.rs
- runtime_value.rs
- env_access.rs
- net_access.rs
- path_access.rs
- run_access.rs
- error.rs
- mem.rs
- native.rs
- sandboxed.rs
- token.rs
- http_import.rs
- http_resolver.rs
- local_fs_resolver.rs
- lockfile.rs
- ssrf.rs
- std_resolver.rs
- error.rs
- resolver.rs
- arena.rs
- ast.rs
- cst.rs
- diagnostic.rs
- engine.rs
- error.rs
- eval.rs
- ident.rs
- io.rs
- lexer.rs
- lib.rs
- module.rs
- number.rs
- optimizer.rs
- range.rs
- selector.rs
- suggest.rs
- integration_tests.rs
- property_based_tests.rs
- builtin.mq
- builtin_tests.mq
- Cargo.toml
- LICENSE
- github.rs
- json.rs
- markdown.rs
- sarif.rs
- text.rs
- complex_interpolation.rs
- deeply_nested.rs
- function_too_long.rs
- too_many_match_arms.rs
- too_many_params.rs
- always_true_condition.rs
- deprecated_function_call.rs
- duplicate_import.rs
- duplicate_match_arm.rs
- infinite_loop.rs
- missing_else_in_expr.rs
- shadow_variable.rs
- unreachable_code.rs
- unused_function.rs
- unused_import.rs
- unused_parameter.rs
- unused_variable.rs
- ambiguous_qualified_access.rs
- missing_module_doc.rs
- dangerous_capability_call.rs
- inefficient_selector.rs
- missing_depth_guard.rs
- selector_always_empty.rs
- boolean_comparison.rs
- constant_string_concat.rs
- naming_convention.rs
- negated_condition.rs
- prefer_coalesce.rs
- prefer_let_over_var.rs
- prefer_pipe_style.rs
- prefer_specific_heading.rs
- redundant_boolean_literal.rs
- redundant_try.rs
- unnecessary_interpolation.rs
- complexity.rs
- correctness.rs
- module.rs
- security.rs
- selector.rs
- style.rs
- config.rs
- fix.rs
- format.rs
- lib.rs
- main.rs
- message.rs
- rules.rs
- Cargo.toml
- README.md
- capabilities.rs
- code_action.rs
- completions.rs
- document_symbol.rs
- error.rs
- execute_command.rs
- folding_range.rs
- goto_definition.rs
- hover.rs
- inlay_hints.rs
- lib.rs
- main.rs
- refactor.rs
- references.rs
- rename.rs
- semantic_tokens.rs
- server.rs
- signature_help.rs
- workspace_symbol.rs
- Cargo.toml
- LICENSE
- README.md
- lib.rs
- Cargo.toml
- demo.gif
- logo.svg
- benchmark.rs
- html_convert.rs
- converter.rs
- iframe.rs
- node.rs
- noise.rs
- options.rs
- parser.rs
- scoring.rs
- table_layout.rs
- attr_value.rs
- html_to_markdown.rs
- lib.rs
- markdown.rs
- node.rs
- fragment_property_tests.rs
- gfm_roundtrip_fidelity.rs
- html_to_markdown_property_tests.rs
- html_to_markdown_tests.rs
- table_render_property_tests.rs
- Cargo.toml
- LICENSE
- demo.gif
- logo.svg
- command_context.rs
- lib.rs
- repl.rs
- Cargo.toml
- LICENSE
- demo.gif
- logo.svg
- dbg.rs
- csv.rs
- gron.rs
- json.rs
- shell.rs
- table.rs
- toml.rs
- toon.rs
- xml.rs
- yaml.rs
- cli.rs
- debugger.rs
- grep.rs
- lib.rs
- main.rs
- output.rs
- integration_tests.rs
- Cargo.toml
- LICENSE
- coverage.rs
- highlight.rs
- html.rs
- lib.rs
- main.rs
- runner.rs
- snapshot.rs
- Cargo.toml
- README.md
- lib.rs
- script.rs
- Cargo.toml
- README.md
- rate_limit.rs
- api.rs
- banner.rs
- cleanup.rs
- config.rs
- handlers.rs
- lib.rs
- main.rs
- middleware.rs
- problem.rs
- query_cache.rs
- rate_limiter.rs
- routes.rs
- server.rs
- .gitignore
- Cargo.toml
- Dockerfile.vercel
- README.md
- logo.svg
- add-row-to-table.md
- convert-csv-to-markdown-table.md
- convert-table-to-csv.md
- count-words-in-document.md
- define-custom-function.md
- delete-section-by-heading.md
- extract-blockquotes-as-pull-quotes.md
- extract-code-blocks-by-language.md
- extract-context-for-llm-prompts.md
- extract-footnote-definitions.md
- extract-frontmatter.md
- extract-link-urls.md
- extract-mdx-components.md
- extract-nth-list-item.md
- extract-section-by-heading.md
- extract-table-row.md
- extract-tables.md
- fetch-and-filter-a-web-page.md
- filter-empty-sections.md
- filter-sections-by-level.md
- find-images-missing-alt-text.md
- find-raw-html-blocks.md
- generate-document-statistics.md
- generate-sitemap.md
- generate-toc-from-headings.md
- index.md
- inline-local-images-as-base64.md
- merge-multiple-files.md
- process-files-in-parallel.md
- reshape-table-pivot.md
- split-document-by-heading.md
- track-task-list-progress.md
- transform-arrays.md
- update-text-in-place.md
- logo.svg
- assignment_operators.md
- cli.md
- comments.md
- comparisons.md
- conditionals.md
- conditionals_and_comparisons.md
- control_flow.md
- env.md
- functions.md
- index.md
- modules_and_imports.md
- nodes.md
- operators.md
- pattern_matching.md
- selectors.md
- self.md
- string_interpolation.md
- syntax.md
- try_catch.md
- types_and_values.md
- variables.md
- crawler.md
- debugger.md
- development.md
- example.md
- external_subcommands.md
- index.md
- install.md
- language_bindings.md
- mcp.md
- modules.md
- playground.md
- syntax-highlighting.md
- tui.md
- web_api.md
- builtins.html
- favicon.png
- favicon.svg
- index.md
- sitemap.xml
- SUMMARY.md
- custom.css
- favicon.png
- favicon.svg
- head.hbs
- highlight-mq.js
- playground-link.js
- .gitignore
- book.toml
- demo.gif
- favicon.ico
- index.html
- llms-full.txt
- llms.txt
- gradle-wrapper.jar
- gradle-wrapper.properties
- MqCommandRunner.kt
- MqDebugCurrentFileAction.kt
- MqExecuteFileAction.kt
- MqExecuteQueryAction.kt
- MqFilePicker.kt
- MqLspControlActions.kt
- MqNewFileAction.kt
- MqRunSelectedTextAction.kt
- MqDebugAdapterDescriptor.kt
- MqDebugAdapterDescriptorFactory.kt
- MqFileIconProvider.kt
- MqIcons.kt
- MqBinaryInstaller.kt
- MqBinaryLocator.kt
- MqLanguageServerFactory.kt
- MqLspCommandLine.kt
- MqSettingsConfigurable.kt
- MqSettingsState.kt
- MqTextMateBundleProvider.kt
- MqExamples.kt
- MqPluginInfo.kt
- mqFile.svg
- mqFile_dark.svg
- plugin.xml
- pluginIcon.svg
- pluginIcon_dark.svg
- mq.tmLanguage.json
- language-configuration.json
- package.json
- .gitignore
- .tool-versions
- build.gradle.kts
- gradle.properties
- gradlew
- gradlew.bat
- LICENSE
- README.md
- settings.gradle.kts
- mq.vim
- mq.vim
- commands.lua
- config.lua
- dap.lua
- init.lua
- lsp.lua
- utils.lua
- mq.lua
- mq.vim
- .gitignore
- LICENSE
- README.md
- logo.png
- logo.svg
- mq.json
- codelens.ts
- debugger.ts
- statusbar.ts
- extension.test.ts
- extension.ts
- mq.markdown.tmLanguage.json
- mq.tmLanguage.json
- .oxlintrc.json
- .vscode-test.mjs
- .vscodeignore
- esbuild.js
- language-configuration.json
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.json
- config.toml
- highlights.scm
- icon.svg
- indents.scm
- lib.rs
- .gitignore
- Cargo.lock
- Cargo.toml
- extension.toml
- LICENSE
- README.md
- interpreter.rs
- .gitignore
- Cargo.toml
- icon.png
- CodeEditor.tsx
- OptionsPanel.tsx
- QueryEditor.tsx
- ResultPane.tsx
- SourcePane.tsx
- activeTab.ts
- editorHighlight.ts
- examples.ts
- mq.ts
- mqLanguage.ts
- queryStorage.ts
- App.tsx
- index.html
- main.tsx
- style.css
- injected.ts
- logo.svg
- examples.test.ts
- injected.test.ts
- .gitignore
- .oxlintrc.json
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- tsconfig.json
- vitest.config.ts
- wxt.config.ts
- core.ts
- index.ts
- mq_wasm.d.ts
- mq_wasm.js
- mq_wasm_bg.wasm
- mq_wasm_bg.wasm.d.ts
- index.test.ts
- .gitignore
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- tsconfig.json
- tsup.config.ts
- vitest.config.ts
- favicon.ico
- logo.svg
- ConfirmDialog.css
- ConfirmDialog.tsx
- ContextMenu.css
- ContextMenu.tsx
- ExamplesModal.css
- ExamplesModal.tsx
- FileIcon.tsx
- FileTree.css
- FileTree.tsx
- ProblemsPanel.css
- ProblemsPanel.tsx
- ResizeHandle.css
- ResizeHandle.tsx
- SettingsDialog.css
- SettingsDialog.tsx
- TabBar.tsx
- Toast.css
- Toast.tsx
- deviceDetection.ts
- fileSystem.ts
- examples.ts
- index.css
- main.tsx
- Playground.tsx
- vim.css
- vite-env.d.ts
- ConfirmDialog.test.tsx
- Toast.test.tsx
- deviceDetection.test.ts
- fileSystem.test.ts
- setup.ts
- tsconfig.json
- .gitignore
- .oxlintrc.json
- package.json
- playground.html
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- tsconfig.json
- vite.config.ts
- vitest.config.ts
- core.ts
- index.ts
- mq_wasm.d.ts
- mq_wasm.js
- mq_wasm_bg.wasm
- mq_wasm_bg.wasm.d.ts
- index.test.ts
- setup.ts
- .gitignore
- .oxlintrc.json
- LICENSE
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- tsconfig.json
- tsup.config.ts
- vitest.config.ts
- bump_version.mq
- bump_version.sh
- install.sh
- install_crawler.sh
- install_fmt.sh
- install_lsp.sh
- sitemap.mq
- update_doc.sh
- EXAMPLES.md
- SKILL.md
- SKILL.md
- .dockerignore
- .envrc
- .gitattributes
- .gitignore
- .tool-versions
- .typos.toml
- .vercelignore
- AGENTS.md
- Cargo.lock
- Cargo.toml
- CLAUDE.md
- context7.json
- CONTRIBUTING.md
- deny.toml
- Dockerfile
- Dockerfile.vercel
- flake.lock
- flake.nix
- justfile
- LICENSE
- README.md
- rust-toolchain.toml
- rustfmt.toml
- task.md
- vercel.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
brew install
View Details ▼
brew install
Install a Homebrew formula or cask.
brew install {{formula|cask}}
Install a formula/cask:
brew install {{[-s|--build-from-source]}} {{formula}}
Build and install a formula from source (dependencies will still be installed from bottles):
brew install {{[-n|--dry-run]}} {{formula|cask}}
Download the manifest, print what would be installed but don't actually install anything:
cargo binstall
View Details ▼
cargo binstall
Install Rust binaries from CI artifacts.
Falls back to `cargo install` (from source code) if there are no binaries available.
Note: This is not a built-in Cargo command, you need to install it first.
cargo binstall {{package}}
Install a package from <https://crates.io>:
cargo binstall {{package}}@{{version}}
Install a specific version of a package (latest by default):
cargo binstall {{[-y|--no-confirm]}} {{package}}
Install a package and disable confirmation prompts:
cargo install
View Details ▼
cargo install
Build and install a Rust binary.
cargo install {{package}}@{{version}}
Install a package from <https://crates.io> (the version is optional - latest by default):
cargo install --git {{repo_url}}
Install a package from the specified Git repository:
cargo install --git {{repo_url}} --{{branch|tag|rev}} {{branch_name|tag|commit_hash}}
Build from the specified branch/tag/commit when installing from a Git repository:
docker run
View Details ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
http
View Details ▼
http
HTTPie: an HTTP client designed for testing, debugging, and generally interacting with APIs and HTTP servers.
See also: `xh`.
http {{https://example.com}}
Make a simple GET request (shows response headers and content):
http {{[-p|--print]}} {{H|B|h|b|m|Hh|Hhb|...}} {{https://example.com}}
Print specific parts of the content (`H`: request headers, `B`: request body, `h`: response headers, `b`: response body, `m`: response metadata):
http {{GET|POST|HEAD|PUT|PATCH|DELETE|...}} --proxy {{http|https}}:{{http://localhost:8080|socks5://localhost:9050|...}} {{https://example.com}}
Specify the HTTP method when sending a request and use a proxy to intercept the request:
yay
View Details ▼
yay
Yet Another Yogurt: build and install packages from the Arch User Repository.
See also: `pacman`.
yay {{package_name|search_term}}
Interactively search and install packages from the repos and AUR:
yay
Synchronize and update all packages from the repos and AUR:
yay -S {{package}} --noconfirm
Install a new package from the repos and AUR and do not ask to confirm transactions:
QUERY
View Details ▼
QUERY
Display information about user sessions and process.
query session
Display all user sessions:
query session /server:{{hostname}}
Display the current user sessions on a remote computer:
query user
Display logged in users:
