{{#tr this}} Configure regular expression patterns that will be automatically linkified when used in Zulip message bodies or topics. For example to automatically linkify commit IDs and issue numbers (e.g. #123) to the corresponding items in a GitHub project, you could use the following: {{/tr}}
#(?P<id>[0-9]+)
{{t "and" }}
https://github.com/zulip/zulip/issues/%(id)s
(?P<id>[0-9a-f]{40})
{{t "and" }}
https://github.com/zulip/zulip/commit/%(id)s
{{#tr this}}
Or, to automatically linkify GitHub's org/repo#1234
syntax:
{{/tr}}
(?P<org>[a-zA-Z0-9_-]+)/(?P<repo>[a-zA-Z0-9_-]+)#(?P<id>[0-9]+)
{{t "and" }}
https://github.com/%(org)s/%(repo)s/commit/%(id)s
{{#tr this}} More details are available in the Help Center article. {{/tr}}
{{t "Pattern" }} | {{t "URL format string" }} | {{#if is_admin}}{{t "Actions" }} | {{/if}}
---|