Features
Code Snippets
Fern generates code snippets of how to consume the SDK in various languages. These code snippets are embedded in a variety of different locations:
Snippets in the SDK
Each SDK contains code snippets so that users can see usage examples on hover. See examples below:
Snippets in Documentation
If you use Fern to generate your developer documentation, then you can configure the code snippets to be automatically populated in your documentation.
![Code snippets](https://fern-image-hosting.s3.amazonaws.com/fern/sdk-code-snippets-in-docs.png)
Snippets over API
We also provide a public API that you can use to fetch code snippets. This is useful if you want to display code snippets in your own documentation or website.
![Code snippets](https://fern-image-hosting.s3.amazonaws.com/fern/merge-code-snippets.png)