Y
Hacker News
new
|
ask
|
show
|
jobs
by
vborovikov
1697 days ago
How about
[@raw organic cane sugar, @honey]{3%tbsp}
Here square brackets indicate that the ingredient will have variations separated by commas.
2 comments
dubadub
1693 days ago
Interesting idea, how about the case when quantity varies for different ingredient? For example 2 tbsp of raw organic cane sugar or 3 honey.
link
quisnam
1697 days ago
Good idea. I'd prefer the at sign in front of the brackets, though.
@[sugar, honey]{3%tbsp}
It should be easier to parse and allows for brackets to be used elsewhere without escapes.
link