website/gems/lib/asciidoctor/flathub-link-inline-macro
Gabriel Arazas f7e2b3a2b7
Update Asciidoctor extension dependency
Asciidoctor already handles the caching so we don't really need to. On
the plus side, it gives some choice whether the pipeline should have a
cache or not.
2023-05-28 17:49:15 +08:00
..
extension.rb Update Asciidoctor extension dependency 2023-05-28 17:49:15 +08:00
README.adoc Add FlatHub link inline macro 2023-05-27 19:37:25 +08:00

Table of Contents

A shorthand for linking applications from FlatHub.

Synopsis

flathub:$APP_ID[$CAPTION]

Where…

  • $APP_ID is the application ID of the program on Flathub.

  • $CAPTION is the link text to be used. By default, it will get the appstream metadata from FlatHub and use the display name. Take note it creates an additional network request to get the name.

Example usage

  • flathub:org.gnome.design.IconLibrary[] links to the FlatHub page of GNOME Icon Library with Icon Library as the link text.

  • flathub:org.gnome.design.IconLibrary[GNOME Icon Library] is the same as the previous list item but with its link text replaced with GNOME Icon Library.