rouge
rouge copied to clipboard
Liquid: update for 5.0.0
Now that Liquid 5.0.0 is out, this is a rework of the Liquid lexer for simplification and additional syntax features (including a few that aren't in the documentation yet):
liquidtag for enclosing multiple tags within one set of delimitersasin Render and Include tagsforloop.parentloopreference- ranges can be assigned to variables
continuekeyword for forloopoffsetparameter- mark delimiters as Comment::Preproc (as is done in php.rb, jinja.rb, etc.)
- adding a mimetype
- addressing some corner cases, which have been added to the sample file
- add support for the proposed inline comment syntax