瀏覽代碼

Merge pull request #6789 from Cykyrios/fix-code-block-formatting

Fix code block formatting in gdscript_bascis.rst
Matthew 2 年之前
父節點
當前提交
3c910922d5
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tutorials/scripting/gdscript/gdscript_basics.rst

+ 2 - 0
tutorials/scripting/gdscript/gdscript_basics.rst

@@ -1137,6 +1137,7 @@ If you want to assign values on an array as it is being iterated through, it
 is best to use ``for i in array.size()``.
 is best to use ``for i in array.size()``.
 
 
 ::
 ::
+
     for i in array.size():
     for i in array.size():
 	    array[i] = "Hello World"
 	    array[i] = "Hello World"
 
 
@@ -1146,6 +1147,7 @@ the value on the array. Objects passed by reference (such as nodes) can still
 be manipulated by calling methods on the loop variable.
 be manipulated by calling methods on the loop variable.
 
 
 ::
 ::
+
     for string in string_array:
     for string in string_array:
         string = "Hello World" # This has no effect
         string = "Hello World" # This has no effect