11 lines
403 B
YAML
11 lines
403 B
YAML
github_gist:
|
|
regexp: ^https://gist\.github\.com/([^/]+)/([a-f0-9]+)(?:/([a-f0-9]+))?$
|
|
url: "https://gist.githubusercontent.com/{user}/{gist_id}/raw"
|
|
|
|
gitlab_snippet:
|
|
regexp: ^https://gitlab\.com/(-)?snippets/([0-9]+)$
|
|
url: "https://gitlab.com/snippets/{snippet_id}/raw"
|
|
|
|
gitea_snippet:
|
|
regexp: ^https://([^/]+)/snippets/([0-9]+)$
|
|
url: "https://{host}/snippets/{snippet_id}/raw" |