From 95eb5d60361b4188b5c8051ebb657ce341df0456 Mon Sep 17 00:00:00 2001 From: Jake Olney Date: Tue, 31 May 2022 14:56:58 -0700 Subject: [PATCH] add inline_comment --- lib/liquid/tags/inline_comment.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/liquid/tags/inline_comment.rb b/lib/liquid/tags/inline_comment.rb index 493cfddc..e2cbc138 100644 --- a/lib/liquid/tags/inline_comment.rb +++ b/lib/liquid/tags/inline_comment.rb @@ -1,6 +1,19 @@ # frozen_string_literal: true 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 def initialize(tag_name, markup, options) super