@@ -62,11 +62,18 @@ This embed is focused on being as light as possible:
6262
6363Use this code to embed:
6464
65- ` <iframe src="https://codesandbox.io/embed/new?codemirror=1" style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;" sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"></iframe> `
65+ ``` html
66+ <iframe
67+ src =" https://codesandbox.io/embed/new?codemirror=1"
68+ style =" width :100% ; height :500px ; border :0 ; border-radius : 4px ; overflow :hidden ;"
69+ allow =" geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb"
70+ sandbox =" allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
71+ ></iframe >
72+ ```
6673
6774That will give to a result like this:
6875
69- <iframe src =" https://codesandbox.io/embed/new?codemirror=1 " style =" width :100% ; height :500px ; border :0 ; border-radius : 4px ; overflow :hidden ;" sandbox =" allow-modals allow-forms allow-popups allow-scripts allow-same-origin " ></iframe >
76+ <iframe src =" https://codesandbox.io/embed/new?codemirror=1 " style =" width :100% ; height :500px ; border :0 ; border-radius : 4px ; overflow :hidden ;" allow = " geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb " sandbox =" allow-modals allow-forms allow-popups allow-scripts allow-same-origin " ></iframe >
7077
7178### Code Example Embed
7279
@@ -77,8 +84,15 @@ is only supported with the CodeMirror editor currently:
7784
7885Use this code to embed:
7986
80- ` <iframe src="https://codesandbox.io/embed/new?codemirror=1&highlights=11,12,13,14" style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;" sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"></iframe> `
87+ ``` html
88+ <iframe
89+ src =" https://codesandbox.io/embed/new?codemirror=1&highlights=11,12,13,14"
90+ style =" width :100% ; height :500px ; border :0 ; border-radius : 4px ; overflow :hidden ;"
91+ allow =" geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb"
92+ sandbox =" allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
93+ ></iframe >
94+ ```
8195
8296That will give to a result like this:
8397
84- <iframe src =" https://codesandbox.io/embed/new?codemirror=1&highlights=11,12,13,14 " style =" width :100% ; height :500px ; border :0 ; border-radius : 4px ; overflow :hidden ;" sandbox =" allow-modals allow-forms allow-popups allow-scripts allow-same-origin " ></iframe >
98+ <iframe src =" https://codesandbox.io/embed/new?codemirror=1&highlights=11,12,13,14 " style =" width :100% ; height :500px ; border :0 ; border-radius : 4px ; overflow :hidden ;" allow = " geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb " sandbox =" allow-modals allow-forms allow-popups allow-scripts allow-same-origin " ></iframe >
0 commit comments