Skip to content

Instantly share code, notes, and snippets.

@tbrowder
Last active November 16, 2017 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbrowder/d8a48ae70cb1fb192bb2b2f0c0c4192e to your computer and use it in GitHub Desktop.
Save tbrowder/d8a48ae70cb1fb192bb2b2f0c0c4192e to your computer and use it in GitHub Desktop.
table pod cell formatting

thoughts on how to handle table cell formatting

  • I think "double parsing" is required, so disallow table cell formatting if we cannot tolerate double-parsing

  • double parsing can be done inside Pod.nqp with a sub instead of calling the parser

  • the parsing would result in a twine for each cell

  • handling would require renderers to recognize each table cell contains a twine structure rather than a simple string

  • consider making a twine a first-class object

  • document the twine structure (or object) inside the code as well as in the glossary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment