diff --git a/docs/capi/keygrabber.lua.in b/docs/capi/keygrabber.lua.in
index 321ee46c..00b08219 100644
--- a/docs/capi/keygrabber.lua.in
+++ b/docs/capi/keygrabber.lua.in
@@ -8,11 +8,11 @@
-- Grab keyboard input and read pressed keys, calling a callback function at
-- each keypress, until `keygrabber.stop` is called.
-- The callback function receives three arguments:
---
--- - a table containing modifiers keys
--- - a string with the pressed key
--- - a string with either "press" or "release" to indicate the event type.
---
+--
+-- * a table containing modifiers keys
+-- * a string with the pressed key
+-- * a string with either "press" or "release" to indicate the event type.
+--
-- @param callback A callback function as described above.
-- @function run
-- @usage The following function can be bound to a key, and will be used to