-
Notifications
You must be signed in to change notification settings - Fork 0
APIs for Backend Templates
Custom backends currently available in the Asciidoctor backends repository:
Backend | Description | Doc(s) |
---|---|---|
|
Collection of Haml templates that transform an AsciiDoc document to HTML 5-based slides animated by deck.js |
|
|
HTML template to build slides in HTML5 and CSS3 |
None |
Custom backends rumored to exist or be in development
-
reveal.js by Paul Rayner
Custom backends wish list
Template Name | Corresponding AsciiDoc Element(s) | Description |
---|---|---|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Section title and content |
Used for rendering section title and its child content |
Current object in a template is an Asciidoctor node element A node can be a block or an inline concrete type
-
attribute lookup shorthands (what a ? means)
-
checking for an attribute
-
getting the value of an attribute
-
checking for a block title
-
getting the block title
-
getting the id
-
checking for nested blocks
-
getting the nested blocks
-
checking for text
-
getting the text
-
text is inline and list items only
-
checking for an option
-
getting the caption
-
checking for a document attribute
-
getting a document attribute
-
getting the content (renders children)
-
special stuff for document and section
-
functions (image_uri, icon_uri)
-
document references
-
type (mutlivariate templates (handling more than one thing)
-
getting the doctype
Note
|
reference rdoc for where the methods exist |