Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-2368

Add lightbox support (=enlarge image on click) for Antora template

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M4
    • Component/s: Isis Docs & Website
    • Labels:
      None

      Description

      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.

      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).

        Attachments

          Activity

            People

            • Assignee:
              hobrom Andi Huber
              Reporter:
              ahus1 Alexander Schwartz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: