In order to put code snippets into docs and guides, they need to be manually created in all supported languages and cURL. When the API changes, these need to be manually changed as well.
Describe the solution
Examples are already defined in the Fern definition. It would be great to just drop in the existing examples into the docs. These would always stay in sync with the Fern definition, and automatically create snippets for all supported Fern languages.
Why would it be useful?
Docs are more useful if explanation and code are side by side. This encourages more full featured docs to be written easily, and makes Fern a true all in one platform!
Problem description
In order to put code snippets into docs and guides, they need to be manually created in all supported languages and cURL. When the API changes, these need to be manually changed as well.
Describe the solution
Examples are already defined in the Fern definition. It would be great to just drop in the existing examples into the docs. These would always stay in sync with the Fern definition, and automatically create snippets for all supported Fern languages.
Why would it be useful?
Docs are more useful if explanation and code are side by side. This encourages more full featured docs to be written easily, and makes Fern a true all in one platform!