summaryrefslogtreecommitdiff
path: root/doc/user/snippets.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-22 21:08:59 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-22 21:08:59 +0000
commitb489f0f0a1ebcea2044911b7b38837f072b7ee05 (patch)
tree5fba06eec9bda781dd1000cb322ed883f4692c04 /doc/user/snippets.md
parent9a643ab892cfd7897fb7695bc158ce17ada81b1a (diff)
downloadgitlab-ce-b489f0f0a1ebcea2044911b7b38837f072b7ee05.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/snippets.md')
-rw-r--r--doc/user/snippets.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/user/snippets.md b/doc/user/snippets.md
index c087e68f000..a8e38d0391b 100644
--- a/doc/user/snippets.md
+++ b/doc/user/snippets.md
@@ -14,6 +14,8 @@ You can [comment on](#comment-on-snippets), [clone](#clone-snippets), and
[syntax highlighting](#filenames), [embedding](#embed-snippets), [downloading](#download-snippets),
and you can maintain your snippets with the [snippets API](../api/snippets.md).
+![Example of snippet](img/snippet_tooltip_v13_10.png)
+
GitLab provides two types of snippets:
- **Personal snippets**: Created independent of any project.
@@ -123,6 +125,10 @@ A single snippet can support up to 10 files, which helps keep related files toge
- A `gulpfile.js` file and a `package.json` file, which together can be
used to bootstrap a project and manage its dependencies.
+Snippets with multiple files display a file count in the [snippet list](http://snippets.gitlab.com/):
+
+![Example of snippet](img/snippet_tooltip_v13_10.png)
+
You can manage these by using Git (because they're [versioned](#versioned-snippets)
by a Git repository), through the [Snippets API](../api/snippets.md), and in the GitLab UI.