Raw LaTeX, Scrivener 3 and compile process

Hi, this is fab.

I’ve got it working nicely for a paper and pre-existing header, preamble, and footer, etc.

A quick question: where/how do the hyperlinks get transformed to \href{<link>}{<link>} ?

I’d like to edit the rule to produce \url{<link>}

I’m using the xurl package \usepackage{xurl} which breaks up long URLs across lines and it seems to work nicely.

Thanks,

ps. I’ve also converted an MMD / Scrivener 2 SIGGRAPH template to this workflow that seems to be working nicely. Happy to share (in a new thread)…