liquid
liquid copied to clipboard
Liquid Tag that accepts more than one value
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?
Please show your code. 🙂 (make sure to simplify it to only demonstrate what you're talking about, without any distractions)