Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions fern/products/api-def/openapi-pages/extensions/examples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,20 @@ paths:

client.users.get("user-1234")
```

#### Supported languages

Fern supports syntax highlighting for the following languages in custom code samples:

- `curl`
- `python`
- `javascript` (aliases: `js`, `node`)
- `typescript` (aliases: `ts`)
- `go`
- `ruby`
- `csharp`
- `php`
- `swift`
- `rust`

If you specify a language that is not in this list, Fern will still display the code sample but without syntax highlighting.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] reported by reviewdog 🐶
[Microsoft.Contractions] Use 'that's' instead of 'that is'.