Lua: Use fences for code blocks
@@ -19,14 +19,18 @@ implemented. The lua plugin is especially useful to write filter and logging scr
The lua plugin accepts only the **script** configuration parameter holding the path to a Lua
script. The mount command would look like
+```sh
kdb mount file.ini /lua ini lua script=/path/to/filter_script.lua
+```
if the **ini** plugin should be used for storage and the lua plugin only serves to invoke the
filter script.
For a Lua script that serves as (JSON) storage plugin itself, one could also use
+```sh
kdb mount file.json /lua lua script=/path/to/json_plugin.lua
+```
### Lua Scripts
@@ -46,7 +50,9 @@ implement all functions therefore.
Access to **kdb** can be retrieved using the Lua import
+```lua
require("kdb")
+```
## Example
