tinymist icon indicating copy to clipboard operation
tinymist copied to clipboard

Add definition docs (when hovering/autocompleting) for field-like elements (e.g., `math.equation`, `table.cell` etc.)

Open Andrew15-5 opened this issue 4 months ago • 5 comments

Motivation

The more elements supporting the definition docs, the better the UX/DX.

Description

All element functions have definition docs on hover, but not the math.equation. https://typst.app/docs/reference/math/equation/#parameters should be added to the top of the docs (or fully replace the current docs).

#set math.equation()

The same goes to things like table.cell, table.hline etc.

Examples/Questions

Here is what comes up when completing the math.equation or hovering over it:

image

Andrew15-5 avatar Oct 11 '24 13:10 Andrew15-5