private void writeIndexFileForFullReport(final String reportTitle) {
        final URL resourceUrl = Resources.getResource(this.getClass(), "index.asciidoc");
        try {
            final List<String> indexLines = Resources.readLines(resourceUrl, Charset.defaultCharset());

            try (PrintWriter writer = PrintWriterUtil.getPrintWriter(new File(targetDir, "index.asciidoc"))) {
                writer.println("= " + reportTitle);
                indexLines.forEach(writer::println);
            }
        } catch (IOException e) {
            log.error("Report content could not be read.", e);
        }
    }
This reporter provides the functionality for reading/writing a report in AsciiDoc format.

<p> The following flags are reused from {@link AbstractReportConfig}:
<ul>
  <li> --format= </li>
  <li> --sourceDir= / --dir= </li>
  <li> --targetDir= / --todir= </li>
  <li> --title= </li>
  <li> --exclude-empty-scenarios=&lt;boolean&gt; </li>
  <li> --help / -h </li>
</ul>
jgiven-core/src/main/java/com/tngtech/jgiven/report/asciidoc/AsciiDocReportGenerator.java