Lua comments go in, documentation comes out.
LDoc is a LuaDoc-compatible documentation generator which can also process C extension source. Markdown may be optionally used to render comments, as well as integrated readme documentation and pretty-printed example files.
An implementation of the Markdown text-to-html markup system in pure Lua.
Windows API Lua+ffi binding