Advanced

Advanced icon
Advanced

Init

Wovalab lib AsciiDoctor.lvlib Asciidoctor Processor.lvclass Init.vi

This function provides an object instance configured to render an adoc file.

If you leave all input unwired, the Asciidoctor toolchain provided by the toolkit will be used to render PDF or HTML files.

By default the function checks the Asciidoctor toolchain installation set up.

If you need to use another Asciidoctor toolchain, use the options to configure the rendering according to your configuration.
On some restrictive networks you can get an error 5000 when rendering your adoc file. If you cannot configure the network correctly, you can enable the Disable SSL Verification option.

Render Adoc File

Wovalab lib AsciiDoctor.lvlib Asciidoctor Processor.lvclass Render Adoc File.vi

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

If the output Issue In The Rendering? is set to TRUE, the output file is generated but contains some error. Consult the ``Generation Details" output for more information.

The file is generated in the same folder as the input file with the same name except for the extension.
If the adoc file contains diagrams and you use the the Asciidoctor toolchain provided by the toolkit, you need to have access to the web to generate them.
This function is only supported on Windows operating system.

Check Kroki Server Status

Wovalab lib AsciiDoctor.lvlib Asciidoctor Processor.lvclass Check Kroki Server Status.vi

Use this function to test the kroki server availability.

Obtain Command Line

Wovalab lib AsciiDoctor.lvlib Asciidoctor Processor.lvclass Obtain Command Line.vi

This fucntion provides the command line used to render the PDF or HTML file from an adoc file.

This function is the one called by the Render Adoc File function available in the palette. Use this function if you want to call the asciidoctor command differently or if you are running your app on any operating system but Windows.

Check Asciidoctor Toolchain Installation

Wovalab lib AsciiDoctor.lvlib Check Asciidoctor Toolchain Installation.vi
This function is only supported on Windows/Linux operating system

Use this function to check that Asciidoctor toolchain is correctly installed.

You can set a custom Ruby folder if you are using a custom toolchain install (Windows only)

If you set the Light Install Check to True, the ability of the toolchain to create PDF will not be tested.

Check For Toolchain Update

Wovalab lib AsciiDoctor.lvlib Check For Toolchain Update.vi

Use this function to check if a new version of the Asciidoctor toolchain provided by the toolkit is available. If so, use the Install Asciidoctor Toolchain to update the toolchain.

This function is only supported onWindows/Linux operating system.
On Linux, the function is giving less details than on Windows

Installing Asciidoctor toolchain..

Wovalab lib AsciiDoctor.lvlib Install Asciidoctor Toolchain.vi

This function installs the Ascidoctor toolchain.

This function is only supported on Windows and Linux.

If you set the Light Install Check to True, the ability of the toolchain to create PDF will not be tested.

If the network connection is down, the installation is done offline. If no toolchain zip path is provided, the VI uses the following default emplacement to get the Asciidoctor toolchain.

  • In the development environment, the zip is found in the vi.lib

  • In the runtime environment, the zip is searched next to the EXE or in the sub hierarchy of the EXE folder

You can the latest compatible Ruby instance zip files here

Convert html tags

Wovalab lib AsciiDoctor.lvlib Convert Html Tags.vi

Replace html formatting (bold, italic and underline) markups into Asciidoc syntax.

Add Line Break

Wovalab lib AsciiDoctor.lvlib Add Line Break.vi

Insert a line break between 2 lines used in a paragraph block

Since adjacent lines of text in AsciiDoc are combined into a single paragraph when converted, it means you can wrap paragraph text or put each sentence or phrase on a separate line. The line breaks won’t appear in the output. However, if you want the line breaks in a paragraph to be preserved, you can use a space followed by a plus sign (+).

Format Text

Wovalab lib AsciiDoctor.lvlib Format Text.vi

Add selected formatting to the input string.