Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support alternative formatting for large tables #2

Open
immoh opened this issue Dec 4, 2019 · 0 comments
Open

Support alternative formatting for large tables #2

immoh opened this issue Dec 4, 2019 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@immoh
Copy link
Owner

immoh commented Dec 4, 2019

In order to keep lines short (e.g. below 120 chars) some tables could be formatted with alternative formatting that would format each cell to its own line, adding extra line break between rows:

tabular
  (fact "The rules of Conway's life"
    (alive? ?cell-status ?neighbor-count) => ?expected)
  ?cell-status
  ?neighbor-count
  ?expected

  :alive
  1
  FALSEY

  :alive
  2
  truthy

  :alive
  3
  truthy

  :alive
  4
  FALSEY
  
  :dead
  2
  FALSEY

  :dead
  3
  truthy

  :dead
  4
  FALSEY)

User should be able choose which formatting to use either by supplying option to main function or configuring it per table somehow (tabular metadata?).

@immoh immoh added the help wanted Extra attention is needed label Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant