Package org.asciidoctor.extension

Examples of org.asciidoctor.extension.JavaExtensionRegistry


        return this.renderFiles(asciidoctorFiles, options.asMap());
    }

    @Override
    public JavaExtensionRegistry javaExtensionRegistry() {
        return new JavaExtensionRegistry(asciidoctorModule, rubyRuntime);
    }
View Full Code Here


   
    if (backend == null || "".equals(backend))
      backend = "html5";
   
    if (backend.equals("html5")){
      JavaExtensionRegistry javaExtensionRegistry = this.asciidoctor
          .javaExtensionRegistry();
      javaExtensionRegistry
          .postprocessor("com.mgreau.wwsmad.asciidoctor.IFrameAnchorPostProcessor");
    } else if (backend.equals("dzslides")){
      JavaExtensionRegistry javaExtensionRegistry = this.asciidoctor
          .javaExtensionRegistry();
      javaExtensionRegistry
          .postprocessor(DZSlidesPostProcessor.class);
    }
   
    OptionsBuilder optsBuilder = OptionsBuilder
        .options();
View Full Code Here

TOP

Related Classes of org.asciidoctor.extension.JavaExtensionRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.