rust-lang / rust-analyzer

A Rust compiler front-end for IDEs
https://rust-analyzer.github.io/
Apache License 2.0
14.31k stars 1.62k forks source link

Footnote now rendering on the hover documentations #18498

Closed GrayJack closed 1 week ago

GrayJack commented 1 week ago

Markdown footnote not rendering on hover documentation. Maybe this a limitation on the VSCode side?

rust-analyzer version: Master branch commit dd9cd22514cb1001a0a2374b36a85eb75245f27b rustc version: rustc 1.84.0-nightly (b91a3a056 2024-11-07)

editor or extension: VSCode relevant settings: Not relevant to this issue

code snippet to reproduce:

/// Cool documentation[^note]
///
/// [^note]: Look at my cool footnote
struct MyStruc;

Image example: Image

roife commented 1 week ago

r-a would return doc in markdown, which will then be rendered by client. So it is an issue with VSCode.

lnicola commented 1 week ago

Right, for example in JS:

Image