Automatically reformat Org buffers to recognize GitHub references and convert them to links.
(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.
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:
- pulumi/pulumi-terraform-bridge#2217: PF test defaults and plan modifiers
- pulumi/pulumi-terraform-bridge#2231: Add more shim layer tests for pf
Alternatively, if gh-autolinks-use-overlays
is set to t
then Overlays are used to display the title.