Skip to content

Commit

Permalink
add a TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
qwinsi committed Feb 17, 2025
1 parent 25a0053 commit db948d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/typst-writer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ export class TypstWriter {
return;
}

// TODO: "C \frac{xy}{z}" should translate to "C (x y)/z" instead of "C(x y)/z"

let no_need_space = false;
// putting the first token in clause
no_need_space ||= /[\(\[\|]$/.test(this.buffer) && /^\w/.test(str);
Expand Down

0 comments on commit db948d3

Please sign in to comment.