observablehq / observablehq/notebook-kit
Allow `display` to accept and display multiple arguments
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 371
- Forks
- 27
- Avg merge
- 3h 52m
- Merged PRs (30d)
- 1
Description
This is something I've occasionally wanted: display(foo, bar, baz), similar to console.log.
I think I'd be okay with each result printed on its own line, effectively being equivalent to calling display multiple times.
I'm not sure this is a good idea but I keep writing it and then remembering that it doesn't work so I thought I'd file an issue and see what people think.
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
No file, test, or entry point is named in the issue. Locate the implementation and existing tests for display, then determine how multiple arguments and output lines are handled; done means display accepts multiple arguments and shows each result on its own line, with tests covering that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100