concordion-collapse-output-extension

An extension to Concordion that allows to collapse tags with a specific styleclass in the output

License

License

GroupId

GroupId

org.concordion
ArtifactId

ArtifactId

concordion-collapse-output-extension
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

concordion-collapse-output-extension
An extension to Concordion that allows to collapse tags with a specific styleclass in the output
Project URL

Project URL

https://github.com/concordion/concordion-collapse-output-extension
Source Code Management

Source Code Management

https://github.com/concordion/concordion-collapse-output-extension.git

Download concordion-collapse-output-extension

How to add to project

<!-- https://jarcasting.com/artifacts/org.concordion/concordion-collapse-output-extension/ -->
<dependency>
    <groupId>org.concordion</groupId>
    <artifactId>concordion-collapse-output-extension</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.concordion/concordion-collapse-output-extension/
implementation 'org.concordion:concordion-collapse-output-extension:1.0.0'
// https://jarcasting.com/artifacts/org.concordion/concordion-collapse-output-extension/
implementation ("org.concordion:concordion-collapse-output-extension:1.0.0")
'org.concordion:concordion-collapse-output-extension:jar:1.0.0'
<dependency org="org.concordion" name="concordion-collapse-output-extension" rev="1.0.0">
  <artifact name="concordion-collapse-output-extension" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.concordion', module='concordion-collapse-output-extension', version='1.0.0')
)
libraryDependencies += "org.concordion" % "concordion-collapse-output-extension" % "1.0.0"
[org.concordion/concordion-collapse-output-extension "1.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.concordion : concordion jar 1.4.7

Project Modules

There are no modules declared in this project.

Build Status

This Concordion extension allows to specify that parts of the specification should be collapsible in the result page.

Introduction

If you have parts of the specification (e.g. test pre-requisites/setup parts) which are not crucial for the specification you can add the "collabsible" style class to the element and this extension will add a link, javascript and css to allow to collapse and expand this element.

Installation

The extension is available from Maven Central.

Usage

  1. Add the style class to the element.
<div id="id" class="collapsible">This should be collapsible.</div>

Note that if you are using Markdown format specifications, you will need to use inline HTML within the Markdown specification. Any markup inside the inline HTML must use HTML syntax, since Markdown syntax inside the HTML will not be processed.

## Example

The following will be collapsible.

<div id="id" class="collapsible">
  This will **not be bold** since Markdown syntax is not supported within HTML. 
  <p>However, this will be <b>bold</b></p>
</div>
  1. Add the CollapseOutputExtension to your fixture
@RunWith(ConcordionRunner.class)
@Extensions(CollapseOutputExtension.class)
public class Fixture {

}

Here are examples using HTML format specifications and Markdown format specifications

Test Output

org.concordion

Versions

Version
1.0.0