pi-base/viewer

Improve parsing

Closed this issue · 1 comments

  • Ensure that the preview breaks at boundaries when possible (e.g. includes an entire inline math token or sentence, if reasonable)
  • Better estimate of "length" for inline math tokens.

This is ~updated in pi-base/web, although we can still adjust the default breaking logic.