typstyle icon indicating copy to clipboard operation
typstyle copied to clipboard

Reduce no format cases

Open Enter-tainer opened this issue 1 year ago • 0 comments

Currently typstyle gives up formatting when:

  1. @typstype off
  2. When there are block comment child, gives up formatting the whole node. Why: We currently cannot handle block comment in all places
  3. Multiline raw with single backtick. Why: it is white space dependent
  4. When a child contains # in math mode, gives up formatting the whole node. Why: hash can appear anywhere, we havent handle it well.
  5. Args in math mode. Why: it works very different. like 2d args, trailing commas

Enter-tainer avatar Apr 05 '24 13:04 Enter-tainer