Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/recipe-fiddle.git
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Hyperlink definition
%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\RecipeStyleHyperlink{%
  \setupinteraction[
    style=normal,
    color=RecipeColourLinkExternal,
  ]%
}

% Allow themes to configure external hyperlinks.
\defineframed[RecipeStyleHyperlinkFrame][
  frame=off,
  location=low,
  width=fit,
  height=fit,
  strut=yes,
  offset=0pt,
]

% #1 - The link text displayed on the page
% #2 - The web site address
\define[2]\href{%
  \begingroup
    \RecipeStyleHyperlink
    \RecipeStyleHyperlinkFrame{\goto{#1}[url(#2)]}%
  \endgroup%
}