Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

An AsciidoctorJ extension to convert decision tables to tables and plantuml diagrams

License

Notifications You must be signed in to change notification settings

uniqueck/asciidoctorj-decisiontable-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsciidoctorJ Decisiontable Extension

GitHub Actions MIT License badge measure?project=uniqueck asciidoctorj decisiontable extension&metric=alert status

This AsciidoctorJ extension helps you to integrate decision tables in your AsciiDoc toolchain.

Currently supported decision table formats

Installation

<plugin>
	<groupId>org.asciidoctor</groupId>
	<artifactId>asciidoctor-maven-plugin</artifactId>
	<version>2.0.0-RC.1</version>
	<executions>
		<execution>
			<id>output-html</id>
			<phase>generate-resources</phase>
			<goals>
				<goal>process-asciidoc</goal>
			</goals>
			<configuration>
				<backend>html</backend>
			</configuration>
		</execution>
	</executions>
	<dependencies>
		<dependency> <!--(1)-->
			<groupId>de.uniqueck.asciidoctorj.extensions</groupId>
			<artifactId>asciidoctorj-decisiontable-extension</artifactId>
			<version>LATEST</version> <!--(2)-->
		</dependency>
	</dependencies>
</plugin>
  1. asciidoctorj-decisiontables-extension is added

  2. check for the latest version at Maven central

lfet macro

AsciiDoc source

dt::src/test/resources/smallestDecisionTable.lfet[style=table]

AsciiDoc generated

Table 1. smallestDecisionTable
R01 R02

C01

Condition1

Y

N

A01

Action1

X

A02

Action2

X