Package org.asciidoctor

Examples of org.asciidoctor.OptionsBuilder.backend()


    public Options parse() {
        OptionsBuilder optionsBuilder = OptionsBuilder.options();
        AttributesBuilder attributesBuilder = AttributesBuilder.attributes();

        optionsBuilder.backend(this.backend).safe(this.safeMode).docType(this.doctype).eruby(this.eruby);

        if (isOutFileOption() && !isOutputStdout()) {
            optionsBuilder.toFile(new File(this.outFile));
        }
View Full Code Here


   
    try {
      logger.info("[RENDER]::START rendering adoc");
     
      Map<String, Object> parameters = new HashMap<String, Object>();
      parameters = optsBuilder
          .backend(backend)
          .safe(SafeMode.UNSAFE).headerFooter(true)
          .eruby("erubis")
          .attributes(
              AttributesBuilder.attributes()
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.