A place to cache linked articles (think custom and personal wayback machine)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.md 786B

8 kuukautta sitten
12345678910111213
  1. title: Hyperlink escape codes
  2. url: https://notes.billmill.org/programming/bash/Hyperlink_escape_codes.html
  3. hash_url: f68e9507784b5baf1584085908d60f58
  4. archive_date: 2024-03-13
  5. og_image:
  6. description: To print out a clickable hyperlink in a terminal
  7. favicon: https://notes.billmill.org/favicon.ico
  8. language: en_US
  9. <p>To print out a clickable hyperlink in a [terminal that supports] the <a href="https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda">OSC8 escape code</a>, use:</p>
  10. <pre><code><p class="highlight">printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n'
  11. </p></code></pre>
  12. <p>Found via trying to get the <a href="https://notes.billmill.org/computer_usage/git/gh.html">gh</a> cli to output nicer code search results that I can get more context from</p>