@staticmethod
def representer(dumper, data):
    """
        YAML representer for MarkdownString.

        We represent MarkdownString as a ``!!str``-tag (I.E.: ``tag:yaml.org,2002:str``),
        with the `literal-scalar style <http://www.yaml.org/spec/1.2/spec.html#id2795688>`_.
        """
    return dumper.represent_scalar(u'tag:yaml.org,2002:str', data.
        unicode_object, style='|')
