mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 09:05:13 -07:00
edits
This commit is contained in:
@@ -4,13 +4,16 @@ module Liquid
|
|||||||
# @liquid_public_docs
|
# @liquid_public_docs
|
||||||
# @liquid_type tag
|
# @liquid_type tag
|
||||||
# @liquid_category syntax
|
# @liquid_category syntax
|
||||||
# @liquid_name inline comment
|
# @liquid_name inline comments
|
||||||
# @liquid_summary
|
# @liquid_summary
|
||||||
# Prevents an expression inside of a tag `{% %}` from being rendered or output.
|
# Prevents an expression inside of a tag `{% %}` from being rendered or output.
|
||||||
# @liquid_description
|
# @liquid_description
|
||||||
|
# You can use inline comment tags to annotate your code, or to temporarily prevent logic in your code from executing.
|
||||||
|
#
|
||||||
|
# You can create multi-line inline comments. However, each line in the tag must begin with a `#`, or a syntax error will occur.
|
||||||
# @liquid_syntax
|
# @liquid_syntax
|
||||||
# {% # content %}
|
# {% # content %}
|
||||||
# @liquid_syntax_keyword content The content of the comment.
|
# @liquid_syntax_keyword content The content of the tag.
|
||||||
class InlineComment < Tag
|
class InlineComment < Tag
|
||||||
def initialize(tag_name, markup, options)
|
def initialize(tag_name, markup, options)
|
||||||
super
|
super
|
||||||
|
|||||||
Reference in New Issue
Block a user