anchor.diff:  ----
   
   In this example, the bookmark is _misspelled_.
  +
   TODO: If an anchor XYZ is undefined, the plugin will look for _similar_ definitions
   (using a sophisticated string-similarity algorithm).
   
  
positive.code: // append below the line: apply plugin: 'sanityCheckHtml'
  
  sanityCheckHtml {
      outputDir = new File("$buildDir/docs")
  }
  ----
  
  == Types of Sanity Checks
  
  === Broken Internal Links
  
  Finds all '<a href="XYZ">' where XYZ is not defined.
  
  
negative.code: 
  == Usage
  
  The plugin adds a new task named `htmlSanityCheck`.
  
  This task exposes a few properties as part of its configuration:
  
  [horizontal]
  sourceDir:: (mandatory) directory where the html files are located. Type: File. Default: `build/docs`.
  sourceDocumentNames:: (optional) an override to process several source files, which may be a subset of all
                        files available in [x-]`${sourceDir}`. Type: FileCollection.
                        Defaults to all files in [x-]`${sourceDir}`.
  
  checkingResultsDir:: (optional) directory where the checking results written to.
                        Defaults to `${sourceDir}/report/htmlchecks/`
  
  checkExternalLinks:: (optional, planned) if set to "true", external references are checked too.
                        Defaults to `false` (currently not implemented)
  
  
  .build.gradle
  [source,groovy]
  