1
0
Commit Graph

3 Commits

Author SHA1 Message Date
Zef Hemel
13903a3e30 Indexing fixes 2023-10-13 16:33:37 +02:00
Zef Hemel
f7b664aad3 Fixes to paragraph indexing 2023-10-13 15:37:25 +02:00
Ian Shehadeh
50105fd044
Index plug: index paragraph nodes (#528)
* index plug: index paragraph nodes

Includes attributes and tags in the paragraphs.
 Only considers top level paragraphs (right below Document node)

* keep ref and pos consistent with other objects

- most objects just store the starting position in the `pos` field.
- ref is usually `${page}@${pos}` so that it works as a link.

* cleanup and clarify comments

* add paragraph to builtins index
2023-10-12 20:30:47 +02:00