Main palette

AsciiDoc for LabVIEW icon
AsciiDoc for LabVIEW

Create Document

Wovalab lib AsciiDoctor.lvlib Doc.lvclass Create Document.vi

Create an asciidoc document.

>The document type (aka doctype) declares the expected structure of an AsciiDoc document. > AsciiDoc defines a fixed set of document types. > Each document type provides a slight variation on the permitted structure of an AsciiDoc document to accommodate different uses cases.

Add Section

Wovalab lib AsciiDoctor.lvlib Doc.lvclass Add Section  polymorphic.vi
This VI is polymorphic.

Add section to an asciidoc document.

Sections partition the document into a content hierarchy.

This function supports the addition of a single section or an array of sections.

Generate Output

Wovalab lib AsciiDoctor.lvlib Doc.lvclass Generate Output.vi

Generate the asciidoc document string.

If a file path is provided, the output will be saved to file.

Create

Wovalab lib AsciiDoctor.lvlib Section.lvclass Create.vi

Create a section.

Sections partition the document into a content hierarchy.

Use <b>Add bloc.vi</b> to add content to a section

Add Bloc

Wovalab lib AsciiDoctor.lvlib Section.lvclass Add Bloc  polymorphic.vi
This VI is polymorphic.

Add content blocs to a section.

This function supports the addition of a single bloc or an array of blocs to a section

Create Sub Section

Wovalab lib AsciiDoctor.lvlib Sub Section.lvclass Create Sub Section  polymorphic.vi
This VI is polymorphic.

Create a subsection with the given sections.

A <b>Subsection</b> in this instance is actually a container object - its contains the sections given to it and they are then handled as subsections when rendered into the document.

This function supports creation of a subsection container from both a single section or an array of sections.

Generate Output

Wovalab lib AsciiDoctor.lvlib Section.lvclass Generate Output.vi

Generate the asciidoc string of the section.

You can use this function to create an asciidoc document to include in another one.

Create Paragraph

Wovalab lib AsciiDoctor.lvlib Paragraph.lvclass Create Paragraph.vi

Create a paragraph bloc.

Paragraphs are blocks of text with optional formatting (e.g. bold, underline, italic etc) for specific words or phrases.

<b>Note</b> Regular linespaces are ignored. Use <b>Add line break.vi</b> or multiple paragraph blocs to form paragraphs in a section.

Create Admonition

Wovalab lib AsciiDoctor.lvlib Admonition.lvclass Create Admonition.vi

Create an admonition bloc.

Admonitions (or notices) help draw attention to content with a special label or icon. In Asciidoc there are 5 types of admonition: "Note", "Tip", "Important", "Caution" and "Warning". Use them to call out content within a paragraph or section.

Create Image

Wovalab lib AsciiDoctor.lvlib Image.lvclass Create Image.vi

Create an image bloc.

Adds an image from file to the document. File path can be absolute or relative to the "Image directory" attribute of the AsciiDoc document.

Image path must not contain space or square brackets

Create Include Directive

Wovalab lib AsciiDoctor.lvlib Include Directive.lvclass Create Include Directive.vi

Create an "Include" bloc.

The "Include" directive allows inclusion of content from another file into the current AsciiDoc document.

The included content can be in AsciiDoc or any other text format. Where that content is included in the document determines how it will be processed.

Include file path must not contain space or square brackets

Render Adoc File

Wovalab lib AsciiDoctor.lvlib Render Adoc File.vi

This function generate an HTML5 or PDF file using an adoc file as input.

The file is generated in the same folder than the input file with the same name except for the extension.
If the adoc file contains diagram, you need to have access to the web in order to generate them.

Check Asciidoctor Toolchain Installation

Wovalab lib AsciiDoctor.lvlib Check Asciidoctor Toolchain Installation.vi

This function to check that asciidoctor toolchain is correctly installed.

Installing Asciidoctor toolchain

Wovalab lib AsciiDoctor.lvlib Install Asciidoctor Toolchain.vi

This function install the asciddoctor toolchain. With the asciidoctor toolchain you can render adoc files in HTML5 or PDF file format.