anchor.diff:  require 'tilt'
   
   DocTest::RakeTasks.new(:doctest) do |t|
  -  t.output_suite = DocTest::HTML::ExamplesSuite
  -  t.output_suite_opts = {
  -    examples_path: 'test/examples/shiny'
  -  }
  -  # add extra input examples (optional)
  -  t.input_suite_opts = {
  -    examples_path: [ *DocTest.examples_path, 'test/examples/asciidoc' ]
  -  }
  +  # Add extra input examples; if you don’t need that, you can omit this.
  +  t.input_examples :asciidoc, path: [
  +    *DocTest.examples_path,
  +    'test/examples/asciidoc'
  +  ]
  +  t.output_examples :html, path: 'test/examples/shiny'
  +  t.converter = DocTest::HTML::Converter
     t.converter_opts = {
       template_dirs: 'data/templates'
     }
  
positive.code: == How to extend it
  
  You can extend DocTest to support any textual format you want.
  All what you need is to subclass link:{src-base}/base_examples_suite.rb[BaseExamplesSuite] and usually also link:{src-base}/base_example.rb[BaseExample].
  
  
  == Contributing
  
negative.code: [source, ruby]
  ----
  DocTest::RakeTasks.new(:doctest) do |t|
    t.output_examples :html, path: 'test/examples/shiny'
    t.converter = DocTest::HTML::Converter
    t.converter_opts = {
      template_dirs: 'data/templates',
      paragraph_xpath: './div/p/node()'  //<1>
    }
  end
  ----
  