website/gems/lib/asciidoctor/gitlab-link-inline-macro/README.adoc

1.2 KiB
Raw Blame History

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.

Example usage