pandoc-annotations

LuaCATS annotations for Pandoc's Lua filter/reader/writer API

$ luarocks install pandoc-annotations

An installable successor to massifrg/pandoc-luals-annotations.

Type annotations, written using the Lua Language Server's LuaCATS
annotation system, for the Lua API that Pandoc (https://pandoc.org)
exposes to Lua filters, custom readers, and custom writers: the
pandoc.* module and its submodules, the full AST element hierarchy
(Block/Inline subtypes, Meta, Attr, etc.), the List/Filter machinery,
and the PANDOC_* filter-environment globals.

Confirmed against Pandoc 3.10 by running the actual interpreter,
not just read off the manual -- constructor signatures, return
value shapes, and userdata-vs-table distinctions were verified at
runtime where the manual was ambiguous or silent.

Versions

0.0.1-15 hours ago4 downloads

Manifests