MartinPacker / MartinPacker/mdpre
Make Variables Optionally Arrays
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 13
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice to code &system[2] and have it use the third (or maybe second) word in the variable 'system'.
Whether to 1- or 0-index has still to be decided.
Motivation: I'm looping through a bunch of systems and would like to increment a counter (already feasible) to iterate through the list.
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
No file or test is named in issue #54. Start by locating the variable-expansion entry point and existing counter handling; first resolve whether indexing is zero- or one-based, then define completion as indexed access selecting the requested word from a variable and add coverage for the chosen behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100