Commit d37d5c6a authored by Amy Qualls's avatar Amy Qualls

Merge branch 'docs-aqualls-add-snippet-screencap' into 'master'

Add screencap of snippets and a bit of text

See merge request gitlab-org/gitlab!56570
parents 78c22ade 3805c0d9
...@@ -14,6 +14,8 @@ You can [comment on](#comment-on-snippets), [clone](#clone-snippets), and ...@@ -14,6 +14,8 @@ You can [comment on](#comment-on-snippets), [clone](#clone-snippets), and
[syntax highlighting](#filenames), [embedding](#embed-snippets), [downloading](#download-snippets), [syntax highlighting](#filenames), [embedding](#embed-snippets), [downloading](#download-snippets),
and you can maintain your snippets with the [snippets API](../api/snippets.md). 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: GitLab provides two types of snippets:
- **Personal snippets**: Created independent of any project. - **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 ...@@ -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 - A `gulpfile.js` file and a `package.json` file, which together can be
used to bootstrap a project and manage its dependencies. 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) 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. by a Git repository), through the [Snippets API](../api/snippets.md), and in the GitLab UI.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment