Injection Grammars & Project Variables
We could modify this command to support the special
issuescheme, but that is not elegant. Instead we make a minor but important change to the injection grammar from above. We change thenamekey tomarkup.underline.link.$2.hyperlink. What we did was add$2which is the second capture from the regular expression, namely the URL scheme (more about syntax allowed in format strings).[…]
What’s great about this is that we can now create a new command, still using enter as key equivalent, but using a more specific scope selector so that it only targets
issuelinks.