Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2368

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • 2.0.0-M4
    • Docs & Website
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: