Alexander Schwartz created ISIS-2368:
----------------------------------------
Summary: Add lightbox support (=enlarge image on click) for Antora
template
Key: ISIS-2368
URL: https://issues.apache.org/jira/browse/ISIS-2368
Project: Isis
Issue Type: Documentation
Reporter: Alexander Schwartz
The Antora based documentation allows a user to click on an image. The code for
this looks like this:
{{image::value-types/markup.png[width="400px",link="\{imagesdir}/value-types/markup.png"]}}
An alternative would be to add "lightbox" support (=enlarge image on click)
for the Antora template. This would reduce the markup to
{{image::value-types/markup.png[width="400px"]}}
An example can be found here:
[https://intellij-asciidoc-plugin.ahus1.de/docs/users-guide/quick-start.html]
I've also started a discussion to make it part of the standard Antora UI:
[https://gitlab.com/antora/antora-ui-default/-/issues/140.|https://gitlab.com/antora/antora-ui-default/-/issues/140]
Please let me know if you'd like to see a pull request for this for Isis
including a clean-up of the AsciiDoc code (even before it is part of the
standard Antora UI).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)