diff options
author | geequlim <geequlim@gmail.com> | 2019-10-03 14:22:26 +0800 |
---|---|---|
committer | geequlim <geequlim@gmail.com> | 2019-10-03 14:22:26 +0800 |
commit | d1a6964d3965ced647226e0489ca50f1f28aacd2 (patch) | |
tree | 007da1ee3ade32fea4773f92be175bc046b372f7 /modules/gdscript/language_server | |
parent | 351c45a4612749da81ffa26783d44880aa1edd7a (diff) |
Fix codeblock formating to markdown
Diffstat (limited to 'modules/gdscript/language_server')
-rw-r--r-- | modules/gdscript/language_server/gdscript_extend_parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/language_server/gdscript_extend_parser.cpp b/modules/gdscript/language_server/gdscript_extend_parser.cpp index 6db8cb2c88..9cd71e9a71 100644 --- a/modules/gdscript/language_server/gdscript_extend_parser.cpp +++ b/modules/gdscript/language_server/gdscript_extend_parser.cpp @@ -345,13 +345,13 @@ String ExtendGDScriptParser::marked_documentation(const String &p_bbcode) { if (block_start != -1) { code_block_indent = block_start; in_code_block = true; - line = "'''gdscript\n"; + line = "\n"; } else if (in_code_block) { line = "\t" + line.substr(code_block_indent, line.length()); } if (in_code_block && line.find("[/codeblock]") != -1) { - line = "'''\n\n"; + line = "\n"; in_code_block = false; } |