Interface HasAsciidoctorjTemplates
-
- All Superinterfaces:
org.asciidoctor.gradle.model5.core.formatters.HasTemplates
- All Known Subinterfaces:
AsciidoctorjHtml5,AsciidoctorjRevealjs
public interface HasAsciidoctorjTemplates extends org.asciidoctor.gradle.model5.core.formatters.HasTemplatesasciidoctorjoutput formatters that support templates implement this interface.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetForceEngine(java.lang.String engineName)Forces the use of a single template engine,voiduseEngine(java.lang.String engineName)Places a supported engine on the GEM classpath.voiduseEngine(java.lang.String engineName, java.lang.Object version)Places an engine on the GEM classpath.
-
-
-
Method Detail
-
setForceEngine
void setForceEngine(java.lang.String engineName)
Forces the use of a single template engine,- Parameters:
engineName- Name of engine.
-
useEngine
void useEngine(java.lang.String engineName)
Places a supported engine on the GEM classpath.The engine needs to be one of
erb,slimorhaml.- Parameters:
engineName- Engine name.
-
useEngine
void useEngine(java.lang.String engineName, java.lang.Object version)Places an engine on the GEM classpath.This can be used to override the default version of
slimorhaml- Parameters:
engineName- Engine name. It must be an engine that is supported bytilt.version- GEM version. Anything convertible to a string.
-
-