Closed rookiejet closed 4 months ago
Currently no, but it's actually an excellent idea for an enhancement. Getting all the parts from parse_url is certainly simple enough. Evaluating the variables in the replace function might need a bit of noodling though, I know you can use curly brackets in an echo around a variable but not sure in preg_replace.
Thank you @monofox and @dugite-code! I've tested it and it works great.
I would like to do something like
or in readability
"relativeurl": "$url\/"
where $url is the original article url.