Docs tweak

pull/774/head
Zef Hemel 2024-02-28 10:58:40 +01:00
parent 7518dfc82a
commit ecf72a27d0
1 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,8 @@ The `silverbullet.registerAttributeExtractor` API takes two arguments:
* `text`: the text of the object to extract attributes for
* return value: an object of attribute mappings, possibly overriding built-in ones.
Note that indexing happens on every page save. You have to run {[Space: Reindex]} to have the new attribute extractor apply across changes in your entire space.
## Example
Lets say you want to use the syntax `✅ 2024-02-27` in a task to signify when that task was completed and strip it from the task name. Heres an example: