mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 09:05:13 -07:00
Merge pull request #1656 from Shopify/sr-inline-comment
clarify inline_comment
This commit is contained in:
@@ -1,19 +1,6 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Liquid
|
module Liquid
|
||||||
# @liquid_public_docs
|
|
||||||
# @liquid_type tag
|
|
||||||
# @liquid_category syntax
|
|
||||||
# @liquid_name inline_comment
|
|
||||||
# @liquid_summary
|
|
||||||
# Prevents an expression from being rendered or output.
|
|
||||||
# @liquid_description
|
|
||||||
# Any text inside an `inline_comment` tag won't be rendered or output.
|
|
||||||
#
|
|
||||||
# You can create multi-line inline comments. However, each line must begin with a `#`.
|
|
||||||
# @liquid_syntax
|
|
||||||
# {% # content %}
|
|
||||||
# @liquid_syntax_keyword content The content of the comment.
|
|
||||||
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