Content `repr` isn't always valid syntax
Open
Nobody has claimed this yet.
good contribution
scripting
- Dominant language
- Rust
- Stars
- 56.1k
- Forks
- 1.7k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 22
Description
For #outline there is a fill argument. In the docs it says:
Content to fill the space between the title and the page number. Can be set to none to disable filling.
Default:
repeat(body: [.])
However, repeat(body: [.]) appears to be not valid Typst syntax. (I get an error that the argument is positional.) I think it should be repeat[.].
Contributor guide
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
Open the #outline documentation page at the linked URL and inspect the fill parameter example. Update the default from repeat(body: [.]) to valid Typst syntax, repeat[.], and confirm the rendered documentation no longer shows the positional-argument error.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100