mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Documentation: Fix RST generation for [codeblock lang=text]
This commit is contained in:
@@ -1975,7 +1975,7 @@ def format_text_block(
|
||||
)
|
||||
|
||||
if "lang=text" in tag_state.arguments.split(" "):
|
||||
tag_text = "\n.. code::\n"
|
||||
tag_text = "\n.. code:: text\n"
|
||||
else:
|
||||
tag_text = "\n::\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user