Skip to content

jurlstify:0.1.0#4646

Merged
elegaanz merged 1 commit intotypst:mainfrom
SchrodingerBlume:jurlstify-0.1.0
Apr 23, 2026
Merged

jurlstify:0.1.0#4646
elegaanz merged 1 commit intotypst:mainfrom
SchrodingerBlume:jurlstify-0.1.0

Conversation

@SchrodingerBlume
Copy link
Copy Markdown
Contributor

I am submitting

  • a new package
  • an update for a package

Description: jurlstify ports LaTeX's url.sty line-breaking logic to Typst. In justified paragraphs, bare URLs either overflow the margin or force ugly gaps into surrounding text. jurlstify inserts break opportunities at the same character classes as url.sty (. / ? & : etc.) so Typst's line-breaker can wrap URLs naturally without affecting word spacing elsewhere. It provides three usage modes — a standalone renderer jurlstify(), a hyperlink wrapper jurl(), and a document-level show rule jurlstify-links() — plus full control over break characters, font, color, size, hyphen handling, and a soft-hyphen fallback for URLs with long unbroken runs.

I have read and followed the submission guidelines and, in particular, I

  • selected a name that isn't the most obvious or canonical name for what the package does
  • added a typst.toml file with all required keys
  • added a README.md with documentation for my package
  • have chosen a license and added a LICENSE file or linked one in my README.md
  • tested my package locally on my system and it worked
  • excluded PDFs or README images, if any, but not the LICENSE

@typst-package-check typst-package-check Bot added the new A new package submission. label Apr 21, 2026
@elegaanz
Copy link
Copy Markdown
Member

Cool, thank you!

@elegaanz elegaanz merged commit 849bf6a into typst:main Apr 23, 2026
3 checks passed
@SchrodingerBlume SchrodingerBlume deleted the jurlstify-0.1.0 branch April 23, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new A new package submission.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants