Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/uniqueck/asciidoctorj-decisiontable-extension

An AsciidoctorJ extension to convert decision tables to tables and plantuml diagrams
https://github.com/uniqueck/asciidoctorj-decisiontable-extension

asciidoc asciidoctor asciidoctor-extension asciidoctorj decisiontable lfet

Last synced: 15 days ago
JSON representation

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

Awesome Lists containing this project

README

        

:icons: font
= AsciidoctorJ Decisiontable Extension

image:https://github.com/uniqueck/asciidoctorj-decisiontable-extension/actions/workflows/ci.yaml/badge.svg?branch=master["GitHub Actions", link="https://github.com/uniqueck/asciidoctorj-decisiontable-extension/actions/workflows/ci.yaml?branch=master"]
image:https://img.shields.io/badge/License-MIT-yellow.svg["MIT License", link="https://opensource.org/licenses/MIT"]
image:https://maven-badges.herokuapp.com/maven-central/de.uniqueck.asciidoctorj.extensions/asciidoctorj-decisiontable-extension/badge.svg?style=plastic[link="https://maven-badges.herokuapp.com/maven-central/de.uniqueck.asciidoctorj.extensions/asciidoctorj-decisiontable-extension"]
image:https://sonarcloud.io/api/project_badges/measure?project=uniqueck_asciidoctorj-decisiontable-extension&metric=alert_status[link="https://sonarcloud.io/api/project_badges/measure?project=uniqueck_asciidoctorj-decisiontable-extension&metric=alert_status"]

This AsciidoctorJ extension helps you to integrate https://www.lohrfink.de/de/startseite/[decision tables] in your AsciiDoc toolchain.

Currently supported decision table formats

* https://www.lohrfink.de/de/startseite/[lohrfink decision tables]

== Installation

[source, xml]
----

org.asciidoctor
asciidoctor-maven-plugin
2.0.0-RC.1


output-html
generate-resources

process-asciidoc


html





de.uniqueck.asciidoctorj.extensions
asciidoctorj-decisiontable-extension
LATEST

----

<1> asciidoctorj-decisiontables-extension is added
<2> check for the latest version at https://maven-badges.herokuapp.com/maven-central/de.uniqueck.asciidoctorj.extensions/asciidoctorj-decisiontable-extension[Maven central]

== lfet macro

=== AsciiDoc source
[source, asciidoc]
----
dt::src/test/resources/smallestDecisionTable.lfet[style=table]
----

=== AsciiDoc generated
.smallestDecisionTable
[width="100%",options=header,cols="1,3,2,2",frame=none,grid=all]
|====
2+|
^.^|R01
^.^|R02
^.^h|C01
.^h|Condition1
^.^|Y
^.^|N
4+|
^.^h|A01
.^h|Action1
^.^|X
^.^|
^.^h|A02
.^h|Action2
^.^|
^.^|X
|====