Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Haaroon/76ed6ce4d596bb26e09ec2e8b507f1df to your computer and use it in GitHub Desktop.
Save Haaroon/76ed6ce4d596bb26e09ec2e8b507f1df to your computer and use it in GitHub Desktop.
\usepackage{xstring}
\usepackage{hyperref}
\newcommand{\ethaddr}[1]{\textcolor{blue}{\href{https://etherscan.io/address/#1}{\StrLeft{#1}{5}...\StrRight{#1}{5}}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment