- 
                Notifications
    You must be signed in to change notification settings 
- Fork 25
Description
Typstyle Development Roadmap for 2025
Over the past year, we’ve made significant progress in Typstyle, with most of the major functionalities outlined in #15 now implemented. A heartfelt thank you to all contributors for your invaluable efforts!
Today, Typstyle delivers consistent formatting quality and ensures document integrity, thanks to our robust testing framework. As we look ahead to 2025, our development goals are centered around three key pillars:
- Reduce No-Format Cases
- Smarter Formatting
- Enhanced Pretty Print Engine
1. Reduce No-Format Cases
In 2024, we made substantial strides in reducing no-format cases, largely due to the exceptional work of @QuadnucYard. However, formatting is still disabled for certain scenarios, such as markup and math. These limitations are tracked here.
Math:
- bad indent for math equation #132
- Better format for math equation #43
- Correctly handle function calls in math mode #22
Markup:
2. Smarter Formatting
2024 saw remarkable improvements in table and chain formatting. In 2025, we aim to extend these advancements to more DSLs (Domain-Specific Languages) and leverage tinymist-query to gain deeper semantic insights for enhanced code understanding.
Analysis:
- Avoid breaking DSLs embeded in typst: cetz, tables, fletcher #17
- [ FEATURE ] Format #table in a human readable way #59
- Feature Proposal: Grouped Import Sorting in Typstyle (Similar to Python’s isort) #212
-  Treat imported headersame astable.header#196
New Features:
- Feature Proposal: Grouped Import Sorting in Typstyle (Similar to Python’s isort) #212
- Feature Proposal: Improved Array Literal Formatting in Typstyle #211
3. Better Pretty Print Engine
A more powerful pretty print engine will unlock advanced formatting techniques, further elevating Typstyle’s capabilities.
- Better handling for last arg in function call #95
-  Feature request: inline functions with ifstatements #76
We’re excited to continue pushing the boundaries of Typstyle in 2025 and look forward to collaborating with our community to achieve these goals. Thank you for your ongoing support and contributions!