In CMD.EXE, we have to write one-liner with \" for string literals.
cat issues.json | jq -r ". | map(\"#\"+(.number|tostring)+\" [\"+ .user.login + \"](\"+ .user.html_url + \")\") | join(\"\r\n\")"The single2double.exe replaces ' with " on the command line and executes it.
cat issues.json | single2double.exe jq -r ". | map('#'+(.number|tostring)+' ['+ .user.login + ']('+ .user.html_url + ')') | join('\r\n')"Download the binary package from Releases and extract the executable.
go install github.com/hymkor/single2double@latest
scoop install https://raw.githubusercontent.com/hymkor/single2double/master/single2double.json
or
scoop bucket add hymkor https://github.com/hymkor/scoop-bucket
scoop install single2double