code: def markdown_safe(value, arg=None):
      
      extensions = (arg and arg.split(',')) or settings.MARKDOWN_EXTENSIONS
      return _markdown(value, extensions=extensions, safe=True)
docs: Render markdown over a given value, optionally using varios extensions.
  
      Default extensions could be defined which MARKDOWN_EXTENSIONS option.
  
      Enables safe mode, which strips raw HTML and only returns HTML generated
      by markdown.
  
      :returns: A rendered markdown.