# File lib/bluecloth.rb, line 236
        def apply_block_transforms( str, rs )
                # Port: This was called '_runBlockGamut' in the original

                @log.debug "Applying block transforms to:\n  %p" % str
                text = transform_headers( str, rs )
                text = transform_hrules( text, rs )
                text = transform_lists( text, rs )
                text = transform_code_blocks( text, rs )
                text = transform_block_quotes( text, rs )
                text = transform_auto_links( text, rs )
                text = hide_html_blocks( text, rs )

                text = form_paragraphs( text, rs )

                @log.debug "Done with block transforms:\n  %p" % text
                return text
        end