Liquid Tag that accepts more than one value
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 11.9k
- Forks
- 1.5k
- Avg merge
- 17h 55m
- Merged PRs (30d)
- 3
Description
Description
I'm trying to create a liquid tag that embeds a YouTube video with a caption below it. In order to do this, I need to accept two values: the YouTube URL, and the caption text. I've searched all over the internet, Liquid's documentation, and multiple blog posts, but almost all examples I've found utilize one string that gets parsed within the liquid tag. Is it possible to pass multiple values to a Liquid Tag through a standard interface?
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 source file, test, or entry point is named. Start by reading the Liquid tag documentation and the standard tag parsing interface, then trace how tag arguments are parsed; done should be defined as either documenting the supported multi-value syntax or specifying the implementation and tests needed to support a YouTube URL plus caption.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100