godotengine / godot-vscode-plugin

Godot development tools for VSCode
MIT License
1.52k stars 149 forks source link

BBC not rendering #486

Closed TheColorRed closed 9 months ago

TheColorRed commented 1 year ago

Godot version

v4.1.1.stable.official [bd6af8e0e]

VS Code version

1.81.1

Godot Tools VS Code extension version

1.3.1

System information

Godot v4.1.1.stable - Windows 10.0.22621 - Vulkan (Mobile) - dedicated AMD Radeon RX 6700 XT (Advanced Micro Devices, Inc.; 31.0.14037.17019) - AMD Ryzen 7 2700 Eight-Core Processor (16 Threads)

Issue description

When adding bbc to the comment documentation, it doesn't render the bbc.

Steps to reproduce

## [code]
##    @export var unit: PackedScene
## [/code]
func _example():
    pass

image

Calinou commented 1 year ago

You should use [codeblock] for multiline codeblocks if I'm not mistaken. [code] is for code literals within a sentence.

TheColorRed commented 1 year ago

Ahh yes that is correct. I did notice though that [br] doesn't seem to work unless I am doing that one wrong too.

## Some text
## [br][br]
## Some more text

image

DaelonSuzuka commented 9 months ago

This is an issue with the Language Server in the editor, not this extension. The language server sends fully rendered markdown for the hover popups, so if there's an issue with the formatting, we can't really do anything about that.