You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My usecase: in notes for projects that have an associated public github repo, I want to be able to link issues via the standard #issuenum syntax. I don't want this rule to fire anywhere else.
The implementation I was imagining was setting a cssclass for which the rule is active, and then allowing a rule to grab metadata via a placeholder like {{meta:FieldName}} (MetaEdit's API could help with this). The final rule would looks something like
I do something similar in URI Commands, though without setting a cssclass, and might be up for implementing this a little later if you think it's in scope.
The text was updated successfully, but these errors were encountered:
My usecase: in notes for projects that have an associated public github repo, I want to be able to link issues via the standard #issuenum syntax. I don't want this rule to fire anywhere else.
The implementation I was imagining was setting a cssclass for which the rule is active, and then allowing a rule to grab metadata via a placeholder like {{meta:FieldName}} (MetaEdit's API could help with this). The final rule would looks something like
cssclass:
github-project
regex:
#([0-9]+)
link:
{{meta:repo-url}}/issue/($1)
I do something similar in URI Commands, though without setting a cssclass, and might be up for implementing this a little later if you think it's in scope.
The text was updated successfully, but these errors were encountered: