Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributeEntry ¶
AttributeEntry contains the mapping of global attribute keys in the headers with its value.
type Author ¶
type Author struct {
FirstName string
MiddleName string
LastName string
Initials string
Email string
}
Author of document.
type Document ¶
type Document struct {
Title DocumentTitle
Authors []*Author
Revision Revision
LastUpdated string
Attributes AttributeEntry
TOCLevel int
// contains filtered or unexported fields
}
Document represent content of asciidoc that has been parsed.
func (*Document) ToHTMLBody ¶
ToHTMLBody convert the Document object into HTML with body only, this is including header, content, and footer.
type DocumentTitle ¶
func (*DocumentTitle) String ¶
func (docTitle *DocumentTitle) String() string
String return the combination of main and subtitle separated by colon or meta "title-separator" value.
Source Files
¶
- anchor.go
- asciidoctor.go
- attribute_class.go
- attribute_entry.go
- author.go
- cell_format.go
- column_format.go
- document.go
- document_parser.go
- document_title.go
- element.go
- element_attribute.go
- element_include.go
- element_table.go
- html_backend.go
- html_template.go
- inline_parser.go
- inline_parser_state.go
- parser.go
- revision.go
- section_counters.go
- table_cell.go
- table_parser.go
- table_row.go
Click to show internal directories.
Click to hide internal directories.