Skip to content

Commit

Permalink
Add documentation about the hyperlink environment variable to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Oct 19, 2024
1 parent 6e5e3b1 commit 3e922e8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ text-only links:
link = TTY::Link.new(hyperlink: :never)
```

Alternatively, set the `TTY_LINK_HYPERLINK` environment variable to configure
the `:hyperlink` value:

```shell
TTY_LINK_HYPERLINK=always
```

#### :plain

The `new` method accepts the `:plain` keyword to define a text-only hyperlink
Expand Down

0 comments on commit 3e922e8

Please sign in to comment.