bonitasoft / bonita-documentation-theme

Dedicated Antora UI Bundle used to produce the Bonita Documentation
https://bonitasoft.github.io/bonita-documentation-theme/
Mozilla Public License 2.0
4 stars 6 forks source link

Cards: provide a way to simplify the syntax #197

Open tbouffard opened 1 year ago

tbouffard commented 1 year ago

Currently, cards can only be created by using a mix of AsciiDoc markup and HTML. This makes the syntax hard to write and read.

We may introduce an asciidoctor extension to better handle this. The /asciidoctor-tabs/ extension could be use as a starting point: https://github.com/asciidoctor/asciidoctor-tabs/tree/main/js Notice that we included an old version of this extension in the past without using it 😄 https://github.com/bonitasoft/bonita-documentation-site/pull/296

We should evaluate if this extension can be included in the theme to be able to test and evaluate it, or if it must be in the site repository. Check https://github.com/asciidoctor/asciidoctor-tabs/blob/main/docs/use-with-antora.adoc for example.

Resources