I am trying to have the two \href
in the code below behave with different options without having to invoke macros or global defaults.
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\href{www.overleaf.com}{link1}
\href{www.overleaf.com}{link2}
\end{document}
The idea is that one of them will continue with default and to pass the second one, I believe, the hidelinks = true
option: keep clickable property but remove default blue box. I've seen many examples showing how to do this with macros but since I only want to have the non-default behavior very few times, I prefer to have the option scoped to the \href
directly.
This is very similar in spirit to the answer given by @CephBirk in How to use different colors for different \href commands? but I can't figure out how to make it work to remove the box instead of changing the color.