Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.3 KB

README.org

File metadata and controls

32 lines (21 loc) · 1.3 KB

gh-autolinks.el

Automatically reformat Org buffers to recognize GitHub references and convert them to links.

Setup

(use-package gh-autolinks
  :custom (gh-autolinks-add-title t)
  :hook (before-save . gh-autolinks-org-buffer))

GitHub CLI is required to fetch the titles of the pull requests and issues.

Usage

Paste a GitHub URLs pointing to pull requests or issues in the buffer. Save the buffer and the references will be converted to links.

For example:

https://github.com/pulumi/pulumi-terraform-bridge/pull/2217
https://github.com/pulumi/pulumi-terraform-bridge/pull/2231

Becomes:

Alternatively, if gh-autolinks-use-overlays is set to t then Overlays are used to display the title.