message: Swap rows/columns for readability, add documentation on how to add a lua library
diff: @@ -10,31 +10,45 @@ Below is a table that lists supported features:
  .. list-table:: Supported Language Features
  :header-rows: 1
  - * - Language
  - - Types
  - - Functions
  - - Arrays
  - - Maps
  - - Mixed-typed key Arrays
  - - Non-contiguous Arrays
  - * - JSON
  + * -
  + - JSON
  + - Lua
  + - YAML
  + * - Types
  - bool, double, int, string
  + - bool, double, int, string
  + - bool, double, int, string
  + * - Functions
  -
  - X
  - - X
  - -
  -
  - * - Lua
  - - bool, double, int, string
  + * - Arrays
  - X
  - X
  - X
  + * - Maps
  - X
  - X
  - * - YAML
  - - bool, double, int, string
  - -
  - X
  + * - Mixed-typed key Arrays
  + -
  - X
  -
  + * - Non-contiguous Arrays
  + -
  + - X
  -
  +
  +***********************
  +Extra Lua functionality
  +***********************
  +
  +Inlet opens four Lua libraries by default: `base`, `math`, `string`, `package`. All libraries are
  +documented `here <https://sol2.readthedocs.io/en/v2.20.6/api/state.html?highlight=open_libraries#enumerations>`_.
  +
  +For example, you can add the `io` library by doing this:
  +
  +.. literalinclude:: ../../examples/lua_library.cpp
  + :start-after: _inlet_io_library_add_start
  + :end-before: _inlet_io_library_add_end
  + :language: C++
  