Skip to content

feat: do not collapse consecutive spaces in markup by default#302

Merged
QuadnucYard merged 1 commit intotypstyle-rs:masterfrom
QuadnucYard:collapse-spaces
May 23, 2025
Merged

feat: do not collapse consecutive spaces in markup by default#302
QuadnucYard merged 1 commit intotypstyle-rs:masterfrom
QuadnucYard:collapse-spaces

Conversation

@QuadnucYard
Copy link
Copy Markdown
Collaborator

resolves #296.

now markup spaces between items will not collapse to a single one, unless enabling that feature.

@github-actions
Copy link
Copy Markdown

github-actions bot commented May 23, 2025

📊 Benchmark Performance Report

group                        base                                   pr
-----                        ----                                   --
pretty-cetz-manual           1.01   963.8±18.30µs        ? ?/sec    1.00    952.5±7.48µs        ? ?/sec
pretty-codly                 1.00  1984.3±12.76µs        ? ?/sec    1.00  1990.7±14.69µs        ? ?/sec
pretty-cpe                   1.00     13.5±0.97ms        ? ?/sec    1.04     14.0±1.10ms        ? ?/sec
pretty-fletcher-diagram      1.01    570.5±7.48µs        ? ?/sec    1.00    564.3±6.39µs        ? ?/sec
pretty-fletcher-draw         1.01  1384.2±12.85µs        ? ?/sec    1.00  1368.5±13.74µs        ? ?/sec
pretty-tablex                1.01      3.7±0.02ms        ? ?/sec    1.00      3.6±0.04ms        ? ?/sec
pretty-touying-core          1.01      2.4±0.01ms        ? ?/sec    1.00      2.3±0.01ms        ? ?/sec
pretty-touying-utils         1.00  1329.2±12.41µs        ? ?/sec    1.00  1322.7±14.71µs        ? ?/sec
pretty-undergraduate-math    1.00  1017.4±10.12µs        ? ?/sec    1.00  1018.0±11.41µs        ? ?/sec

Generated by GitHub Actions on Fri May 23 14:28:48 UTC 2025

@QuadnucYard QuadnucYard merged commit 1ceee64 into typstyle-rs:master May 23, 2025
15 checks passed
@QuadnucYard QuadnucYard deleted the collapse-spaces branch May 23, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unwanted removal of spaces in Markup: breaking "Code only" & "Correctness"

2 participants