mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Fixed minor typos in inline documentation for assign and capture
This commit is contained in:
committed by
Tobias Lütke
parent
0417c9e723
commit
e26f509277
@@ -6,7 +6,7 @@ module Liquid
|
|||||||
#
|
#
|
||||||
# You can then use the variable later in the page.
|
# You can then use the variable later in the page.
|
||||||
#
|
#
|
||||||
# {{ monkey }}
|
# {{ foo }}
|
||||||
#
|
#
|
||||||
class Assign < Tag
|
class Assign < Tag
|
||||||
Syntax = /(#{VariableSignature}+)\s*=\s*(#{QuotedFragment}+)/
|
Syntax = /(#{VariableSignature}+)\s*=\s*(#{QuotedFragment}+)/
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ module Liquid
|
|||||||
# Monkeys!
|
# Monkeys!
|
||||||
# {% endcapture %}
|
# {% endcapture %}
|
||||||
# ...
|
# ...
|
||||||
# <h1>{{ monkeys }}</h1>
|
# <h1>{{ heading }}</h1>
|
||||||
#
|
#
|
||||||
# Capture is useful for saving content for use later in your template, such as
|
# Capture is useful for saving content for use later in your template, such as
|
||||||
# in a sidebar or footer.
|
# in a sidebar or footer.
|
||||||
|
|||||||
Reference in New Issue
Block a user