Set text content.

        :param text: text content.
        :param markdown: is markdown? Defaults to ``False``.

def with_text(self, text, markdown=None):
        '''Set text content.

        :param text: text content.
        :param markdown: is markdown? Defaults to ``False``.
        '''
        self._text = text
        self._markdown = markdown or False

        return self