public Attributes getAsciiDocAttributes(String asciidoc) {
        MyTab currentTab = controller.getCurrent().currentTab();
        Path path = currentTab.getPath();
        String pathText = Objects.nonNull(path) ? path.toString() : null;
        Document document = getPlainDoctor().load(asciidoc, Options.builder()
                .backend(getBackend())
                .safe(SafeMode.UNSAFE)
                .sourcemap(true)
                .baseDir(currentTab.getParentOrWorkdir().toFile())
                .attributes(Attributes.builder().allowUriRead(true).attribute(DOC_FILE_ATTR, pathText).build()).build());
        Map<String, Object> defaultAttributes = document.getAttributes();

        return getAsciiDocAttributes(defaultAttributes);
    }
Set additional attributes in the GUI.
Only needed if child class has additional elements which are not shown
in the parent class.
@param childClassAttributes
@see AsciidoctorConfigBase#load(Path, ActionEvent...)
src/main/java/com/kodedu/config/AsciidoctorConfigBase.java