-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
I know that the canonical tabbing for Typst is "two spaces", but for a lot of users that's unusual. Thus, for all languages that recommend two-space, I (and a lot of programmers I know) use a four-space tabbing during development, and then turn it into two-space right before publishing, often automatically.
Because of that, I propose having a setting for tab size. I imagine it could be easy. As a last resort, it could be crutched as
doNormalFormatting(text).replace("\n( )+") { "\n" + " ".repeat(it.length / 2 * size) } or whatever its analogue in Rust is...
Enter-tainer, thoughtpatterns, piepert, vis4rd, bryan-hoang and 3 more
Metadata
Metadata
Assignees
Labels
No labels