-
Notifications
You must be signed in to change notification settings - Fork 3
Add supported syntax highlighting languages documentation #1758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ples Co-Authored-By: Chris McDonnell <chris@buildwithfern.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
| - `swift` | ||
| - `rust` | ||
|
|
||
| If you specify a language that is not in this list, Fern will still display the code sample but without syntax highlighting. |
There was a problem hiding this comment.
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'.
Co-Authored-By: Chris McDonnell <chris@buildwithfern.com>
Co-Authored-By: Chris McDonnell <chris@buildwithfern.com>
Add supported syntax highlighting languages to code blocks documentation
Summary
Added a "Supported languages" section to the code blocks component documentation listing the 10 languages that Fern supports for syntax highlighting (curl, python, javascript, typescript, go, ruby, csharp, php, swift, rust) along with their aliases. The section was placed after "Usage" and before "Variants" for easy discoverability when users are learning about code block language identifiers.
Review & Testing Checklist for Human
SupportedLanguageenum infern-platform/fern/apis/fdr/definition/api/v1/read/endpoint.yml(lines 230-244). Please confirm this is complete, current, and matches what actually works in production.Notes
Link to Devin run: https://app.devin.ai/sessions/9eac3151b1ae48beba6a26f7a790c163
Requested by: Chris McDonnell (chris@buildwithfern.com) (@cdonel707)