splitbrain/dokuwiki-plugin-gemini

Renderer: Better Tables

Opened this issue · 0 comments

Currently table support is super rudimentary. Ideally tables should be formatted into text handling the following:

  • support cell alignment
  • support colspans
  • support rowspans
  • use box drawing chars
  • auto align table borders based on max column width
  • reflow cell content based on max column widths and a max table width
  • use a syntax that allows sequentially adding table data (to be easy to use in our renderer)

This could probably be implemented in a separate library as it it probably useful for others