Browse Source

fmt code block (#26792)

ycw 1 năm trước cách đây
mục cha
commit
fffeb0c3b1

+ 2 - 2
docs/api/ar/scenes/Fog.html

@@ -17,8 +17,8 @@
 		<h2>مثال للكود</h2>
 		 
 		<code>
-		const scene = new THREE.Scene();
-		scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
+			const scene = new THREE.Scene();
+			scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
 		</code>
 		 
 		<h2>المنشئ (Constructor)</h2>

+ 2 - 2
docs/api/ar/scenes/FogExp2.html

@@ -18,8 +18,8 @@
 		<h2>مثال للكود</h2>
 		 
 		<code>
-		const scene = new THREE.Scene();
-		scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
+			const scene = new THREE.Scene();
+			scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
 		</code>
 		 
 		<h2>المنشئ (Constructor)</h2>

+ 3 - 2
docs/api/en/scenes/Fog.html

@@ -16,8 +16,9 @@
 
 		<h2>Code Example</h2>
 
-		<code>const scene = new THREE.Scene();
-		scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
+		<code>
+			const scene = new THREE.Scene();
+			scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
 		</code>
 
 		<h2>Constructor</h2>

+ 2 - 2
docs/api/en/scenes/FogExp2.html

@@ -18,8 +18,8 @@
 		<h2>Code Example</h2>
 
 		<code>
-const scene = new THREE.Scene();
-scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
+			const scene = new THREE.Scene();
+			scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
 		</code>
 
 		<h2>Constructor</h2>

+ 3 - 2
docs/api/it/scenes/Fog.html

@@ -13,8 +13,9 @@
 
 		<h2>Codice di Esempio</h2>
 
-		<code>const scene = new THREE.Scene();
-		scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
+		<code>
+			const scene = new THREE.Scene();
+			scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
 		</code>
 
 		<h2>Costruttore</h2>

+ 3 - 2
docs/api/it/scenes/FogExp2.html

@@ -17,8 +17,9 @@
 
 		<h2>Codice di Esempio</h2>
 
-		<code>const scene = new THREE.Scene();
-		scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
+		<code>
+			const scene = new THREE.Scene();
+			scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
 		</code>
 
 		<h2>Costruttore</h2>

+ 3 - 2
docs/api/zh/scenes/Fog.html

@@ -13,8 +13,9 @@
 
 		<h2>代码示例</h2>
 
-		<code>const scene = new THREE.Scene();
-		scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
+		<code>
+			const scene = new THREE.Scene();
+			scene.fog = new THREE.Fog( 0xcccccc, 10, 15 );
 		</code>
 
 		<h2>构造器</h2>

+ 3 - 2
docs/api/zh/scenes/FogExp2.html

@@ -13,8 +13,9 @@
 
 		<h2>代码示例</h2>
 
-		<code>const scene = new THREE.Scene();
-		scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
+		<code>
+			const scene = new THREE.Scene();
+			scene.fog = new THREE.FogExp2( 0xcccccc, 0.002 );
 		</code>
 
 		<h2>构造器</h2>