File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Language function Liquid {
2+ <#
3+ . SYNOPSIS
4+ Liquid PipeScript Language Definition
5+ . DESCRIPTION
6+ Allows PipeScript to generate [Liquid](https://shopify.github.io/liquid/)
7+ #>
8+ [ValidatePattern (" \.liquid$" )]
9+ param ()
10+
11+ # Liquid files have a `.liquid` extension.
12+ $FilePattern = ' \.liquid$'
13+
14+ # Liquid Comments are `{% comment %}` and `{% endcomment %}`, respectively.
15+ $StartComment = " \{\%\s{1,}comment\s{1,}\%\}"
16+ $EndComment = " \{\%\s{1,}endcomment\s{1,}\%\}"
17+
18+ # PipeScript exists within liquid as block encased in a pseudocomment.
19+ $StartPattern = " \{\%\s{1,}(?>pipescript|\{)"
20+ $EndPattern = " (?>pipescript|\})\s{1,}\%\}"
21+
22+ $Website = ' https://shopify.github.io/liquid/'
23+ $ProjectURI = ' https://github.com/Shopify/liquid'
24+ }
You can’t perform that action at this time.
0 commit comments