(self, code, lang=None)
return '<pre><code class="lang-%s">%s\n</code></pre>\n' % (lang, code)
This is overrides to turn smart_amp=True
        Rendering block level code. ``pre > code``.

        :param code: text content of the code block.
        :param lang: language of the given code.

        Turn smart_amp=True here to prevent &gt; changing to &amp;gt; after bleach clean.
This is overrides to turn smart_amp=True
        Rendering block level code. ``pre > code``.
This is overrides to turn smart_amp = True Rendering block level code . pre > code .
def block_code(self, code, lang=None):
        """
        This is overrides to turn smart_amp=True
        Rendering block level code. ``pre > code``.

        :param code: text content of the code block.
        :param lang: language of the given code.

        Turn smart_amp=True here to prevent &gt; changing to &amp;gt; after bleach clean.

        """
        code = code.rstrip('\n')
        if not lang:
            code = escape_text(code, smart_amp=True)
            return '<pre><code>%s\n</code></pre>\n' % code
        code = escape_text(code, quote=True, smart_amp=True)
        return '<pre><code class="lang-%s">%s\n</code></pre>\n' % (lang, code)
def block_code ( self , code , lang = None ) : code = code . rstrip ( '\n' ) if not lang : code = escape_text ( code , smart_amp = True ) return '<pre><code>%s\n</code></pre>\n' % code code = escape_text ( code , quote = True , smart_amp = True ) return '<pre><code class="lang-%s">%s\n</code></pre>\n' % ( lang , code )