doc: Fix formatting in code blocks

This commit is contained in:
Rémi Verschelde
2018-12-14 09:37:19 +01:00
parent fc2038e128
commit e588c24168
10 changed files with 67 additions and 81 deletions

View File

@@ -7,9 +7,9 @@
The ScriptCreateDialog creates script files according to a given template for a given scripting language. The standard use is to configure its fields prior to calling a [method popup]() method.
[codeblock]
func _ready():
dialog.config("Node", "res://new_node.gd") # for in-engine types
dialog.config("\"res://base_node.gd\"", "res://derived_node.gd") # for script types
dialog.popup_centered()
dialog.config("Node", "res://new_node.gd") # for in-engine types
dialog.config("\"res://base_node.gd\"", "res://derived_node.gd") # for script types
dialog.popup_centered()
[/codeblock]
</description>
<tutorials>