This seems quite straightforward, but I've spent far too much time struggling.
I frequently using markup of the form:
\markup \with-url#"https:\\youtu.be ..... t=214" {ref}
This creates a hyperlinked text that links directly to a spot in a video on Youtube. Each instance needs a different value after t=
.
Ideally, I would like a function that can be invoke with a number or string (that's not a big deal), so that my input would look something like:
c2^\refer "346"
, or maybe c2^#(refer 346)
, or some such thing.
I have struggled with including \markup
in a scheme function, or trying define-markup-function
all with no success.