mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 00:55:11 -07:00
remove separate inline comment tag for IA reasons
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 comments
|
|
||||||
# @liquid_summary
|
|
||||||
# Prevents an expression inside of a tag `{% %}` from being rendered or output.
|
|
||||||
# @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
|
|
||||||
# {% # content %}
|
|
||||||
# @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