From a22eed365b97cd1bbd73e507405a26c48a085cf1 Mon Sep 17 00:00:00 2001
From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com>
Date: Tue, 30 Sep 2025 16:43:28 +0000
Subject: [PATCH] Visual Editor: Update
---
.../default-components/embed.mdx | 42 +++++++++----------
.../docs/pages/getting-started/overview.mdx | 2 +-
fern/products/home/pages/welcome.mdx | 5 +--
3 files changed, 22 insertions(+), 27 deletions(-)
diff --git a/fern/products/docs/pages/component-library/default-components/embed.mdx b/fern/products/docs/pages/component-library/default-components/embed.mdx
index a5d3d5148..263c4e5e3 100644
--- a/fern/products/docs/pages/component-library/default-components/embed.mdx
+++ b/fern/products/docs/pages/component-library/default-components/embed.mdx
@@ -1,11 +1,12 @@
---
-title: "Embedded Assets and Files"
-description: "Embed local assets like PDFs, videos, and more in your documentation"
+title: Embedded Assets and Files
+description: Embed local assets like PDFs, videos, and more in your documentation
---
Fern enables using the native HTML5 tags to embed local assets like PDFs, videos, and more in your documentation. Supported tags include:
- `` - [Embed External Content](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed)
+
- `` - [Media or Image Source](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source)
Fern also implements a custom component for embedding downloadable assets:
@@ -22,7 +23,7 @@ Fern also implements a custom component for embedding downloadable assets:
MIME type of the asset (e.g. 'video/mp4', 'application/pdf')
-```jsx
+```
```
@@ -34,47 +35,41 @@ Fern also implements a custom component for embedding downloadable assets:
- ```jsx
+ ```
```
- Videos with audio will automatically play when the page loads. If you want to prevent this behavior, consider using the [`
-
+
-
-
+
+
- ```jsx
-
-
-
- ```
+ ```jsx
+
+
+
+ ```
+
### PDF Document
-```jsx
+```
```
## Common MIME Types
-| File Type | MIME Type |
-| ---------- | ----------------- |
-| PDF | `application/pdf` |
-| MP4 Video | `video/mp4` |
-| WebM Video | `video/webm` |
-| SVG Image | `image/svg+xml` |
-| PNG Image | `image/png` |
-| JPEG Image | `image/jpeg` |
+| File Type | MIME Type | | ---------- | ----------------- | | PDF | `application/pdf` | | MP4 Video | `video/mp4` | | WebM Video | `video/webm` | | SVG Image | `image/svg+xml` | | PNG Image | `image/png` | | JPEG Image | `image/jpeg` |
The supported file types and behavior may vary depending on the browser and the type of content being embedded. For
@@ -98,13 +93,14 @@ Enable users to download assets from within your documentation, instead of linki
+
-```jsx
+```
diff --git a/fern/products/docs/pages/getting-started/overview.mdx b/fern/products/docs/pages/getting-started/overview.mdx
index 0c010c2d2..8d333869e 100644
--- a/fern/products/docs/pages/getting-started/overview.mdx
+++ b/fern/products/docs/pages/getting-started/overview.mdx
@@ -155,4 +155,4 @@ subtitle: A website builder for beautiful agent and developer-friendly docs.
-
\ No newline at end of file
+
diff --git a/fern/products/home/pages/welcome.mdx b/fern/products/home/pages/welcome.mdx
index c46356dda..54e6efcf0 100644
--- a/fern/products/home/pages/welcome.mdx
+++ b/fern/products/home/pages/welcome.mdx
@@ -1,12 +1,11 @@
---
title: Build with Fern
-description: Explore our guides for how to generate SDKs and Docs with Fern.
slug: /
+description: Explore our guides for how to generate SDKs and Docs with Fern.
hide-toc: true
layout: custom
---
-
import { FernFooter } from "../../../components/FernFooter";
@@ -389,4 +388,4 @@ import { FernFooter } from "../../../components/FernFooter";