Skip to main content

Module hover_hint

Module hover_hint 

Source
Expand description

VS Code-style hover hints for the Studio’s LOGOS editors.

The words come from the language server’s own analysis (logicaffeine_lsp::hover), linked into the page: the same hover VS Code shows over a .logos file, with no server to reach.

Functions§

hover_markdown
The language server’s hover for the source at byte offset, as markdown.
markdown_to_html
The hover’s markdown as HTML for the tooltip: paragraphs, --- rules, bullet lists, fenced and inline code, bold and emphasis. Everything else is text, escaped.