def render(self, text, add_header=False):
        """Render the HTML.

        Parameters
        ----------
        add_header: boolean (default: False)
            If True, add HTML5 header and footer.

        Returns
        -------
        str
            The rendered HTML.
        """

        html = mark_text(text, self.aesthetics, self.rules)
        html = html.replace('\n', '<br/>')
        if add_header:
            html = '\n'.join([HEADER, self.css, MIDDLE, html, FOOTER])
        #print('\n'.join((HEADER, self.css, MIDDLE, html, FOOTER)))
        return html
Render the HTML.

        Parameters
        ----------
        add_header: boolean (default: False)
            If True, add HTML5 header and footer.

        Returns
        -------
        str
            The rendered HTML.