docs: def wdiff(
    settings, wrap_with_html=False, fold_breaks=False, hard_breaks=False
  ):
    """
    Returns the results of `wdiff` in a HTML compatible format.
  
    Needs a :cls:`settings.Settings` object.
  
    If *wrap_with_html* is set, the *diff* is returned in a full HTML document
    structure.
  
    If *fold_breaks* is set, `<ins>` and `<del>` tags are allowed to span line
    breaks
  
    If *hard_breaks* is set, line breaks are replaced with `<br />` tags.
  
    """
    diff = generate_wdiff(settings.org_file, settings.new_file, fold_breaks)
    if wrap_with_html:
      return wrap_content(diff, settings, hard_breaks)
    else:
      return diff