View Source TableRex.Renderer.Text (table_rex v4.1.0)

Renderer module which handles outputting ASCII-style tables for display.

Summary

Functions

Provides a level of sane defaults for the Text rendering module.

Implementation of the TableRex.Renderer behaviour.

Functions

Provides a level of sane defaults for the Text rendering module.

Implementation of the TableRex.Renderer behaviour.

Available styling options.

horizontal_styles controls horizontal separators and can be one of:

  • :all: display separators between and around every row.
  • :header: display outer and header horizontal separators only.
  • :frame: display outer horizontal separators only.
  • :gfm: display all separators except top and bottom to comply with github flavored markdown
  • :off: display no horizontal separators.

vertical_styles controls vertical separators and can be one of:

  • :all: display between and around every column.
  • :frame: display outer vertical separators only.
  • :off: display no vertical separators.