You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/homepage/content/docs/2-embedding.md
+25-7Lines changed: 25 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,21 +6,30 @@ description: "It's possible to embed a sandbox on Medium and other websites."
6
6
7
7
## What is an Embed?
8
8
9
-
CodeSandbox has a separate application for the embed. This application is specifically built to be as small as possible. If you replace `s` in the URL of a sandbox to `embed` you have the embed version of the sandbox. Example: https://codesandbox.io/**s**/new => https://codesandbox.io/**embed**/new. Notice that the embed doesn't have all features of the full editor.
9
+
CodeSandbox has a separate application for the embed. This application is
10
+
specifically built to be as small as possible. If you replace `s` in the URL of
11
+
a sandbox to `embed` you have the embed version of the sandbox. Example:
that the embed doesn't have all features of the full editor.
10
14
11
15
## Generate a URL
12
16
13
-
You can generate a URL clicking 'Share' in the header and selecting the options you want to have enabled.
17
+
You can generate a URL clicking 'Share' in the header and selecting the options
18
+
you want to have enabled.
14
19
15
20

16
21
17
22
## Embed on Medium
18
23
19
-
You can easily embed on Medium by taking your sandbox URL (like https://codesandbox.io/s/new) and pasting it in a Medium article. It should automatically become an embed after you press enter.
24
+
You can easily embed on Medium by taking your sandbox URL (like
25
+
https://codesandbox.io/s/new) and pasting it in a Medium article. It should
26
+
automatically become an embed after you press enter.
20
27
21
28
## Embed Options
22
29
23
-
The options shown in the embed modal are not all options available. We need a new UI for the share model to reflect these options, in the meantime you can find them here.
30
+
The options shown in the embed modal are not all options available. We need a
31
+
new UI for the share model to reflect these options, in the meantime you can
0 commit comments