private List<String> generateIndexSnippet(final String intro, final String tags) {
        final ArrayList<String> result = new ArrayList<>();
        result.add(intro);

        if (!Strings.isNullOrEmpty(tags)) {
            result.add(":leveloffset: -1");
        }

        featureFiles.forEach(fileName -> result.add(includeMacroFor(fileName, tags)));

        if (!Strings.isNullOrEmpty(tags)) {
            result.add(":leveloffset: +1");
        }
        return result;
    }
Generate snippets for including feature files via AsciiDoc include macro.
jgiven-core/src/main/java/com/tngtech/jgiven/report/asciidoc/AsciiDocSnippetGenerator.java