asciidoctor-foodogsquared-e.../lib/asciidoctor/gitlab-link-inline-macro
2023-05-06 15:22:42 +08:00
..
extension.rb Add repo option for GitLab link inline macro 2023-05-06 15:22:42 +08:00
README.adoc Add repo option for GitLab link inline macro 2023-05-06 15:22:42 +08:00

Table of Contents

An inline macro for easily linking objects from GitLab instances.

Synopsis

gitlab:$OWNER/$REPO[$CAPTION]

Attributes

  • domain is the base domain of the GitLab instance. By default, it points to the official instance of gitlab.com.

  • rev is the commit of the repo. By default. it doesnt point to anything which should be in the default branch of the repository.

  • path is the filepath to be linked.

There are settings that is enabled with the options attribute.

  • repo sets the default caption to be the repo part.

Example usage