module RailsConnector # Include this module in order to tag the string as one with Markdown content module MarkdownString include LinkResolvable # Returns whether the String contains Markdown (default to true, overrides String.markdown?). def markdown? true end end end class String # Returns whether the String contains Markdown (default to false). def markdown? false end end