Method: MarkdownRecord::ContentDsl::UseLayout.remove_dsl

Defined in:
lib/markdown_record/rendering/content_dsl/use_layout.rb

.remove_dsl(text) ⇒ Object



17
18
19
# File 'lib/markdown_record/rendering/content_dsl/use_layout.rb', line 17

def self.remove_dsl(text)
  text.gsub(REGEX, "").gsub(ENCODED_REGEX, "")
end