Bläddra i källkod

Fix code-block indentation

Fixes #1971.
Rémi Verschelde 6 år sedan
förälder
incheckning
8fa3cc37cd
1 ändrade filer med 4 tillägg och 3 borttagningar
  1. 4 3
      getting_started/scripting/gdscript/gdscript_basics.rst

+ 4 - 3
getting_started/scripting/gdscript/gdscript_basics.rst

@@ -988,10 +988,11 @@ There are a few things to keep in mind here:
    to the ``State.gd`` base class even if it does nothing. Which brings us to the fact that you
    can pass literals in the base constructor as well, not just variables. Eg.:
 
-   ::
-      # Idle.gd
+::
+
+    # Idle.gd
 
-      func _init().(5):
+    func _init().(5):
         pass
 
 Inner classes