Expand description
Markdown renderer for knowledge-base entries.
Produces the body shown in cmp documentation popovers and LSP hover. Structure:
header : # {label} plus an italic kind tag (Keyword / Function / Type)
block : signature (functions only) in a fenced sql block
body : one-line description
example : fenced sql block with a worked example
footer : link to the canonical Postgres docs
Functionsยง
- render_
markdown - wrap_
paragraphs - Greedy word-wrap each paragraph at
widthcolumns. Preserves blank lines (paragraph separators), leaves fenced code blocks (triple-backtick) and indented lines untouched.