# `Snippets`

This article tests the inclusion of snippets and snippet slices.

This is a snippet.

@Snippet(path: "Snippets/Snippets/MySnippet")

This is a slice of the above snippet, called "foo".

@Snippet(path: "Snippets/Snippets/MySnippet", slice: "foo")

<!-- Copyright (c) 2022 Apple Inc and the Swift Project authors. All Rights Reserved. -->
