Inline liquid tag
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 11.9k
- Forks
- 1.5k
- Avg merge
- 17h 55m
- Merged PRs (30d)
- 3
Description
I like the new {% liquid %} tag but I would love to see it supporting single lines tags.
For example, the following template is the smallest we can get wrt to new lines:
{% liquid if name == 'tobi'
echo 'hello tobi'
endif %}
From my tests it seems like a new line is required for each tag, unless after the liquid tag.
But it would be more succinct like this:
{% liquid if name == 'tobi' echo 'hello tobi' endif %}
Unless some ambiguities in the grammar prevent that.
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
The issue names no file, test, or entry point. Start by finding the implementation and tests for the {% liquid %} tag, then verify whether the single-line if ... echo ... endif syntax can be accepted without ambiguity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100