All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jcohy.docs.asciidoctor.NavigationDocinfoProcessor Maven / Gradle / Ivy

The newest version!
package com.jcohy.docs.asciidoctor;

import java.util.Map;

import org.asciidoctor.ast.Document;
import org.asciidoctor.ast.DocumentRuby;
import org.asciidoctor.extension.DocinfoProcessor;

/**
 * Copyright: Copyright (c) 2020 jcohy.com
 *
 * 

Description: * * @author jiac * @version 1.0.0 2020/11/26:16:06 * @since 1.0.0 */ public class NavigationDocinfoProcessor extends DocinfoProcessor { private final String html; NavigationDocinfoProcessor(Map config, String html) { super(config); this.html = html; } @Override public String process(Document document) { return this.html; } @Override public String process(DocumentRuby documentRuby) { return this.process(this.document(documentRuby)); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy