From ffcab7bf6c774b452b99709f035f9f2b7116599c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Bj=C3=B6rk?= Date: Wed, 14 Jan 2026 22:25:27 +0100 Subject: [PATCH 1/2] Added docs for pattern search --- website/src/pages/learn/metadata.mdx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/website/src/pages/learn/metadata.mdx b/website/src/pages/learn/metadata.mdx index c94257925..35a1ad05c 100644 --- a/website/src/pages/learn/metadata.mdx +++ b/website/src/pages/learn/metadata.mdx @@ -53,6 +53,7 @@ Available tags are: - `@url`: web page(s) related to the music (git repository, Soundcloud link, etc.) - `@genre`: music genre(s) (pop, jazz, etc.) - `@album`: music album name +- `@tag`: custom tag Note to tool authors: _Never_ trust that a song has filled those fields with syntactically correct values; make sure your software is robust enough it doesn't break if it encounters bad values @@ -92,3 +93,18 @@ If a tag doesn't accept a list, it can take multi-line values: the sofa in the living room. */ ``` + +# Searching meta-data in the online repl + +Meta-data can be used in the search field of the patterns tab in the online repl. + +For example to search for all patterns by a specific author use the search term +``` +by: Ada L +``` +or search for patterns with a specific genre like +``` +genre: unicorns +``` + +Hint: If no meta-data property is provided in the search all patterns with a `@title`, `@by` or `@tag` matching the search term will be shown. From 71dfbeea8828590a7cf061f5d9aa8648c35b96c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Bj=C3=B6rk?= Date: Wed, 14 Jan 2026 22:35:10 +0100 Subject: [PATCH 2/2] Fix markdown format --- website/src/pages/learn/metadata.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/src/pages/learn/metadata.mdx b/website/src/pages/learn/metadata.mdx index 35a1ad05c..07a1357c1 100644 --- a/website/src/pages/learn/metadata.mdx +++ b/website/src/pages/learn/metadata.mdx @@ -99,10 +99,13 @@ If a tag doesn't accept a list, it can take multi-line values: Meta-data can be used in the search field of the patterns tab in the online repl. For example to search for all patterns by a specific author use the search term + ``` by: Ada L -``` +``` + or search for patterns with a specific genre like + ``` genre: unicorns ```