original_docstring: 
      Converts the given object to Markdown, with inline
      styles suitable for email.
      
docstring: Converts the given object to Markdown, with inline
  styles suitable for email.
docstring_tokens: Converts the given object to Markdown with inline styles suitable for email .
code: def markdown_with_inline_styles(object, styles_dictionary=None):
      """
      Converts the given object to Markdown, with inline
      styles suitable for email.
      """
  
      styles_dictionary = styles_dictionary or {}
      tags = bleach.sanitizer.ALLOWED_TAGS + ['p', 'span', 'h1', 'h2', 'h3', 'h4', 'h5', 'hr', 'div', 'br']
      attributes = bleach.sanitizer.ALLOWED_ATTRIBUTES.copy()
      attributes.update({'div': ['style'], 'p': ['style'], 'h1': ['style']})
      styles = ['display', 'color', 'font-weight', 'font-size', 'border-radius', 'background', 'width', 'line-height',
                'padding', 'border', 'margin-right', 'margin']
      return bleach.clean(original_markdown(
          six.text_type(object),
          output_format="html5",
          extensions=[
              InlineStylesExtension(**styles_dictionary),
          ]),
          tags=tags,
          attributes=attributes,
          styles=styles
      )
code_tokens: def markdown_with_inline_styles ( object , styles_dictionary = None ) : styles_dictionary = styles_dictionary or { } tags = bleach . sanitizer . ALLOWED_TAGS + [ 'p' , 'span' , 'h1' , 'h2' , 'h3' , 'h4' , 'h5' , 'hr' , 'div' , 'br' ] attributes = bleach . sanitizer . ALLOWED_ATTRIBUTES . copy ( ) attributes . update ( { 'div' : [ 'style' ] , 'p' : [ 'style' ] , 'h1' : [ 'style' ] } ) styles = [ 'display' , 'color' , 'font-weight' , 'font-size' , 'border-radius' , 'background' , 'width' , 'line-height' , 'padding' , 'border' , 'margin-right' , 'margin' ] return bleach . clean ( original_markdown ( six . text_type ( object ) , output_format = "html5" , extensions = [ InlineStylesExtension ( ** styles_dictionary ) , ] ) , tags = tags , attributes = attributes , styles = styles )
short_docstring: Converts the given object to Markdown, with inline
  styles suitable for email.
short_docstring_tokens: Converts the given object to Markdown with inline styles suitable for email .
comment: """
      Converts the given object to Markdown, with inline
      styles suitable for email.
      """