You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2020/05/20 09:30:00 UTC

[jira] [Commented] (ISIS-2368) Add lightbox support (=enlarge image on click) for Antora template

    [ https://issues.apache.org/jira/browse/ISIS-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17111980#comment-17111980 ] 

Andi Huber commented on ISIS-2368:
----------------------------------

Hi Alexander, your proposal of adding lightbox support to the doc site seems great to me!

 

> 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: Improvement
>          Components: Isis Docs &amp; Website
>            Reporter: Alexander Schwartz
>            Priority: Minor
>             Fix For: 2.0.0-M4
>
>
> 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)