Package org.jbake.parser
Class AsciidoctorEngine
- java.lang.Object
-
- org.jbake.parser.MarkupEngine
-
- org.jbake.parser.AsciidoctorEngine
-
- All Implemented Interfaces:
ParserEngine
public class AsciidoctorEngine extends MarkupEngine
Renders documents in the asciidoc format using the Asciidoctor engine.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJBAKE_PREFIXstatic java.lang.StringREVDATE_KEY
-
Constructor Summary
Constructors Constructor Description AsciidoctorEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessBody(ParserContext context)Processes the body of the document.voidprocessHeader(ParserContext context)Processes the document header.-
Methods inherited from class org.jbake.parser.MarkupEngine
parse, parse, validate
-
-
-
-
Field Detail
-
JBAKE_PREFIX
public static final java.lang.String JBAKE_PREFIX
- See Also:
- Constant Field Values
-
REVDATE_KEY
public static final java.lang.String REVDATE_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
processHeader
public void processHeader(ParserContext context)
Description copied from class:MarkupEngineProcesses the document header. Usually subclasses will parse the document body and look for specific header metadata and export it intocontentsmap.- Overrides:
processHeaderin classMarkupEngine- Parameters:
context- the parser context
-
processBody
public void processBody(ParserContext context)
Description copied from class:MarkupEngineProcesses the body of the document. Usually subclasses will parse the document body and render it, exporting the result using theParserContext.setBody(String)method.- Overrides:
processBodyin classMarkupEngine- Parameters:
context- the parser context
-
-