Multi-line queries are not recognized
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 281
- Forks
- 30
- Avg merge
- 5h 30m
- Merged PRs (30d)
- 4
Description
A multi-line, simple query like this on the docs graph is not recognized as a query macro:
```
- {{query (and (page-property type Feature)
(and (page-property platform "All Platforms") (page-property platform "Publish Web")))}}
```
Instead it just shows up as plain text and thus no query is triggered in logseq
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the multiline query macro from the issue in the mldoc parser and inspect how query macros are recognized across line breaks. Trace the parser entry point handling this snippet, then add coverage showing that the example is recognized as a query rather than plain text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100