Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
neilboyd committed Dec 23, 2024
1 parent 42a0f17 commit 0946d9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ If the `search.json` contains this data

A function that will be called whenever a match in the template is found.

It gets passed the current property name, property value, the template, and the search query.
It gets passed the current property name, property value, the template, the search query,
and the match.

If the function returns a non-undefined value, it gets replaced in the template.

Expand Down
3 changes: 2 additions & 1 deletion WIKI.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ If the `search.json` contains this data

A function that will be called whenever a match in the template is found.

It gets passed the current property name, property value, the template, and the search query.
It gets passed the current property name, property value, the template, the search query,
and the match.

If the function returns a non-undefined value, it gets replaced in the template.

Expand Down

0 comments on commit 0946d9a

Please sign in to comment.