Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1473 commits
Select commit Hold shift + click to select a range
494e6a6
Numbering implementation refactor (#6122)
samuelireson Jun 4, 2025
6725061
Pin colspan and rowspan for blank cells (#6401)
PgBiel Jun 9, 2025
832fab5
Clean up some parser comments (#6398)
wrzian Jun 9, 2025
df4c08f
Autocomplete fixes for math mode (#6415)
cAttte Jun 9, 2025
2a3746c
Update docs for gradient.repeat (#6385)
Andrew15-5 Jun 9, 2025
e632bff
Document how to escape lr delimiter auto-scaling (#6410)
Andrew15-5 Jun 9, 2025
82da96e
Improve number lexing (#5969)
wrzian Jun 10, 2025
a18ca34
Report errors in external files (#6308)
saecki Jun 10, 2025
7c7b962
Table multiple headers and subheaders (#6168)
PgBiel Jun 10, 2025
44d410d
Use the shaper in math (#6336)
mkorje Jun 10, 2025
5d13b35
Standardize trailing slashes in docs route paths (#6420)
3w36zj6 Jun 10, 2025
5d34d54
Make a more descriptive definition of `module` (#6380)
Andrew15-5 Jun 10, 2025
a6ab6ac
Specify which CSL style is not suitable for bibliographies (#6306)
Andrew15-5 Jun 10, 2025
9803490
Adjust source file API surface (#6423)
laurmaedje Jun 10, 2025
3a6d5fd
Do not force `math.mid` elements to have the Large math class (#5980)
MDLC01 Jun 11, 2025
71032c8
List both YAML file extensions in bibliography docs (#6426)
Andrew15-5 Jun 11, 2025
d1c7757
Fix panic when test source is not found in world (#6428)
saecki Jun 11, 2025
d7e0c52
Use `codex::ModifierSet` (#6159)
T0mstone Jun 11, 2025
1f5846c
Render `#super` as `<sup>`, `#sub` as `<sub>` in HTML (#6422)
breezykermo Jun 11, 2025
19325d5
Warning when watching stdin (#6381)
YDX-2147483647 Jun 11, 2025
ada90fd
Fix untidy Cargo.lock
laurmaedje Jun 11, 2025
46d57b0
Warn when using variable fonts (#6425)
cAttte Jun 11, 2025
bd41fb9
Check that all translation files are added to TRANSLATIONS and ends w…
istudyatuni Jun 12, 2025
f989747
Unify `EvalMode` and `LexMode` into `SyntaxMode` (#6432)
cAttte Jun 12, 2025
4a638f4
Consume `data` argument in `pdf.embed()` (#6435)
cAttte Jun 12, 2025
64d0a56
Better error message for compile time string interning failure (#6439)
laurmaedje Jun 12, 2025
f32cd5b
Ensure that label repr is syntactically valid (#6456)
laurmaedje Jun 19, 2025
0bc68df
Hint for label in both document and bibliography (#6457)
laurmaedje Jun 19, 2025
4588595
Prefer `.yaml` over `.yml` in the docs (#6436)
Andrew15-5 Jun 19, 2025
f1c761e
Fix align link in layout documentation (#6451)
noamzaks Jun 19, 2025
f364b3c
Fix param autocompletion false positive (#6475)
laurmaedje Jun 20, 2025
fee6844
Encode empty attributes with shorthand syntax
laurmaedje Jun 19, 2025
3b35f0c
Add `Duration::decompose`
laurmaedje Jun 19, 2025
d821633
Generic casting for `Axes<T>`
laurmaedje Jun 19, 2025
4580daf
More type-safe color conversions
laurmaedje Jun 19, 2025
15302db
Add `typst_utils::display`
laurmaedje Jun 19, 2025
3602d06
Support for generating native functions at runtime
laurmaedje Jun 19, 2025
e9dc4bb
Typed HTML API (#6476)
laurmaedje Jun 23, 2025
fbb02f4
Consistent codepoint formatting in HTML and PDF error messages
laurmaedje Jun 23, 2025
c1b2aee
Test runner support for HTML export errors
laurmaedje Jun 23, 2025
9050ee1
Turn non-empty void element into export error
laurmaedje Jun 23, 2025
f8dc1ad
Handle pre elements that start with a newline
laurmaedje Jun 23, 2025
c2e2fd9
Extract `write_children` function
laurmaedje Jun 23, 2025
bf8ef2a
Properly handle raw text elements
laurmaedje Jun 23, 2025
38dd6da
Fix stroke cap of shapes with partial stroke (#5688)
WannesMalfait Jun 23, 2025
87cb8f5
Adding Croatian translations entries (#6413)
ssemigr Jun 23, 2025
24293a6
Rewrite `outline.indent` example (#6383)
Andrew15-5 Jun 24, 2025
899de6d
Use ICU data to check if accent is bottom (#6393)
mkorje Jun 24, 2025
87c5686
Add docs for `std` module (#6407)
Andrew15-5 Jun 24, 2025
f162c37
Improve equation reference example (#6481)
Andrew15-5 Jun 24, 2025
d4be7c4
Add page reference customization example (#6480)
Andrew15-5 Jun 24, 2025
70399a9
Bump `krilla` to current Git version (#6488)
saecki Jun 24, 2025
9e3c119
Check that git tree is clean after build (#6495)
laurmaedje Jun 24, 2025
f2f527c
Also fix encoding of `<textarea>` (#6497)
laurmaedje Jun 24, 2025
d545442
Minor fixes to doc comments (#6500)
bluebear94 Jun 25, 2025
d3caedd
Fix typos in page-setup.md (#6499)
SIGSTACKFAULT Jun 25, 2025
3580938
Support `in` operator on strings and modules (#6498)
laurmaedje Jun 26, 2025
6a1d6c0
Consistent sizing for `html.frame` (#6505)
laurmaedje Jun 26, 2025
04fd0ac
Allow deprecating symbol variants (#6441)
MDLC01 Jun 26, 2025
5dd5771
Disallow empty labels and references (#5776) (#6332)
Daaiid Jun 26, 2025
7420ec9
Fix nested HTML frames (#6509)
laurmaedje Jun 26, 2025
9311f6f
Basic support for text decoration functions in HTML (#6510)
laurmaedje Jun 26, 2025
e8ce894
Improve sentence in guide for LaTeX users (#6511)
Flibbo Jun 26, 2025
b9f3a95
Sort line items by logical order when constructing frame (#5887)
bluebear94 Jun 27, 2025
584dd5f
Fix panic when sampling across two coincident gradient stops (#6166)
bluebear94 Jun 27, 2025
74b1b10
Bump `typst-dev-assets` (#6514)
mkorje Jun 27, 2025
e8f9877
Acknowledgements (#6528)
laurmaedje Jun 30, 2025
c4bcfb1
Support HTML tests in test-helper extension (#6504)
laurmaedje Jun 30, 2025
a6cf024
Fix typo in Advanced Styling docs tutorial (#6517)
mewmew Jun 30, 2025
880f56c
Fix typo in PDF standard CLI help (#6518)
adriandelgado Jun 30, 2025
c99f3ff
Fix typo in PDF standard CLI help part 2 (#6531)
adriandelgado Jun 30, 2025
d978f8c
Fix minor typo in `array.product` docs (#6532)
mewmew Jul 1, 2025
30ddc4a
Fix typos in calc module docs (#6535)
mewmew Jul 1, 2025
09c831d
Use "subs" and "sups" font features for typographic scripts (#5777)
MDLC01 Jul 2, 2025
22a57fc
Use punctuation math class for Arabic comma (#6537)
mkorje Jul 2, 2025
cc3a68e
Remove duplicate language computation (#6557)
saecki Jul 4, 2025
88e451b
Fix typo in PackageStorage (#6556)
Andrew15-5 Jul 4, 2025
d1deb80
Fix nightly warnings (#6558)
laurmaedje Jul 5, 2025
51ab5b8
Fix minor typo in function docs (#6542)
mewmew Jul 7, 2025
36ecbb2
Refer to json function instead of deprecated json.decode in groups do…
mewmew Jul 7, 2025
0a3c693
Rewrite foundations of native elements (#6547)
laurmaedje Jul 8, 2025
e5e1dcd
Target-specific native show rules (#6569)
laurmaedje Jul 9, 2025
e71674f
Construct library via extension trait instead of default & inherent i…
laurmaedje Jul 9, 2025
52a708b
Move `html` module to `typst-html` crate (#6577)
laurmaedje Jul 9, 2025
e5e8132
Fix typo of Typst domain in quote docs (#6573)
mewmew Jul 9, 2025
9ad1879
Anti-alias clip paths (#6570)
laurmaedje Jul 9, 2025
4534167
Use "displayed" instead of "repeated" to avoid ambiguity in numbering…
mewmew Jul 9, 2025
9e6adb6
Ignore spans when checking for RawElem equality (#6560)
frozolotl Jul 9, 2025
1dc4c24
Add `default` argument for `str.first` and `str.last` (#6554)
MDLC01 Jul 9, 2025
1bbb58c
Add completions subcommand (#6568)
jassielof Jul 9, 2025
eed3407
Update Swedish translations based on defaults used for LaTeX and clev…
mewmew Jul 9, 2025
f9b01f5
Move math styling to codex and add `math.scr` (#6309)
mkorje Jul 9, 2025
a45c338
More consistent `Packed<T>` to `Content` conversion methods (#6579)
laurmaedje Jul 9, 2025
3aa7e86
Support images in HTML export (#6578)
laurmaedje Jul 9, 2025
ac77fdb
Fix tooltip for figure reference (#6580)
laurmaedje Jul 9, 2025
98802dd
Complete movement of HTML export code to `typst-html` (#6584)
laurmaedje Jul 10, 2025
275012d
Handle `lower` and `upper` in HTML export (#6585)
laurmaedje Jul 10, 2025
70710de
Deduplicate labels for code completion (#6516)
Daaiid Jul 10, 2025
0264534
Fix regression in reference autocomplete (#6586)
Daaiid Jul 10, 2025
b1a091a
Use "whitespace" instead of "space" to denote block-level equation in…
mewmew Jul 14, 2025
0c12828
Fix minor typo in text docs (#6589)
mewmew Jul 14, 2025
f51cb4b
Rephrase docs for truncation of float/decimal to integer (#6543)
mewmew Jul 14, 2025
9a62680
HTML frame improvements (#6605)
laurmaedje Jul 15, 2025
cdbf60e
Change `enum.item.number` to `Smart` instead of `Option` (#6609)
MDLC01 Jul 16, 2025
ea5272b
Support setting fonts repeatedly with different `covers` (#6604)
YDX-2147483647 Jul 16, 2025
c587664
Support intra-doc links in HTML (#6602)
laurmaedje Jul 16, 2025
0a4b72f
Partially automate span assignment in native show rule (#6613)
laurmaedje Jul 16, 2025
8e0e0f1
Bump `zip` dependency (#6615)
laurmaedje Jul 16, 2025
7897e86
Restore timing scopes for native show rules (#6616)
laurmaedje Jul 16, 2025
5661c20
Slightly improve selector docs (#6544)
mewmew Jul 16, 2025
627f5b9
Add show rule for smallcaps in HTML (#6600)
breezykermo Jul 17, 2025
4629ede
Mention Tinymist in README.md (#6601)
PatrickMassot Jul 18, 2025
b1c79b5
Fix documentation oneliners (#6608)
MDLC01 Jul 18, 2025
b790c6d
Add rust-analyzer to flake devShell (#6618)
tingerrr Jul 18, 2025
55dad02
Add Lithuanian translations (#6587)
pog102 Jul 21, 2025
a43b7e7
Bump CI Rust to 1.88
laurmaedje Jul 21, 2025
eed75ca
Bump MSRV to 1.88
laurmaedje Jul 21, 2025
4bbd4e1
Migrate to 2024 edition
laurmaedje Jul 21, 2025
c9c2315
Fix 2024 clippy warnings
laurmaedje Jul 21, 2025
e81a5a6
Yeet `if_chain` macro
laurmaedje Jul 21, 2025
b036fd9
Reformat with 2024 edition
laurmaedje Jul 21, 2025
af2253b
Add support for PDF embedding (#6623)
LaurenzV Jul 22, 2025
7835542
Add `pdf` extension to image autocompletions (#6643)
laurmaedje Jul 22, 2025
7278d88
Fix bounding box computation for lines in curves (#6647)
saecki Jul 23, 2025
e9f1b58
Lint for iterations over hash types (#6652)
laurmaedje Jul 24, 2025
3adbedc
Create constructor methods for manifest types (#6625)
NiklasEi Jul 28, 2025
a42501c
Remove unnecessary `comemo` dependency in `typst-syntax` (#6668)
laurmaedje Jul 28, 2025
a676c78
Remove duplicate center alignment style for equations (#6667)
laurmaedje Jul 28, 2025
a4d4dfb
Fix incorrect `vline.x` docs (#6657)
Marcono1234 Jul 28, 2025
d446cde
Miscellaneous minor docs improvements (#6651)
YDX-2147483647 Jul 28, 2025
d415834
Allow explicit autocomplete immediately after comma and colon (#6550)
IgKh Jul 28, 2025
178c3be
Improve Guide for LaTeX users, Query Function, and replace invisible …
hpcfzl Jul 28, 2025
48c3fb3
Hint that deprecated items will be removed in `0.15.0` (#6617)
tingerrr Jul 28, 2025
59243da
Specify the standard smart quotes for `Arabic` (#6626)
zefr0x Jul 28, 2025
88dfe4d
Use `rustc-hash` for hash maps and sets (#6678)
laurmaedje Jul 31, 2025
492bd27
Faster constraint checking in comemo (bumps comemo & krilla) (#6683)
laurmaedje Jul 31, 2025
a7ad9d4
Add `--target` argument for `typst query` (#6405)
MDLC01 Aug 1, 2025
7dc99e9
Require parentheses in all function-like sub/superscripts (#6442)
mkorje Aug 1, 2025
210968f
Fix several wrong anchors in `$` docs link resolution (#6684)
YDX-2147483647 Aug 1, 2025
7dff22d
Add `cargo testit` alias for running integration tests (#6682)
asibahi Aug 1, 2025
ef86265
Update guides welcome text to refer to list instead of specific guide…
3w36zj6 Aug 1, 2025
cd1a786
Prevent broken glyph assemblies when font data is incorrect (#6688)
mkorje Aug 1, 2025
b825df6
Allow custom element names in HTML tag syntax (#6676)
uwni Aug 1, 2025
3683399
Add interface to disable timer (#6695)
Myriad-Dreamin Aug 4, 2025
0fe8f09
Add support for drawing COLR glyphs in SVG export (#6693)
LaurenzV Aug 4, 2025
2809dac
Apply aspect ratio correction for linear gradients in PDF export (#6689)
LaurenzV Aug 4, 2025
04b8b31
Wrap raw blocks in `<code>` tag additionally to `<pre>` tag (#6701)
laurmaedje Aug 4, 2025
6177c1b
Support for raw syntax highlighting in HTML export (#6691)
laurmaedje Aug 4, 2025
4a975fd
Ensure that whitespace is not collapsed in inline raw blocks (#6703)
laurmaedje Aug 5, 2025
b98954c
Show aliases of citation styles in docs and completions (#6696)
YDX-2147483647 Aug 5, 2025
6de2d95
Correct CeTZ spelling (#6706)
sebaseb98 Aug 6, 2025
d002609
Add `title` element (#5618)
jbirnick Aug 6, 2025
15d5591
Make HTML data structures cheaper to clone (#6708)
laurmaedje Aug 6, 2025
cfce90e
Move `par`, `box`, and `block` to show rules in HTML export (#6709)
laurmaedje Aug 6, 2025
298c293
Support smartquotes in HTML export (#6710)
laurmaedje Aug 6, 2025
f38a2e9
Avoid dangling reference output for HTML tests (#6711)
laurmaedje Aug 6, 2025
89dce86
Support multiple fonts in math (#6365)
mkorje Aug 7, 2025
1790a27
Add link to position field of grid.hline and grid.vline docs (#6670)
mewmew Aug 7, 2025
c49b964
Rename `pdf.embed` to `pdf.attach` (#6705)
laurmaedje Aug 7, 2025
3455ac7
Include numbering in PDF bookmark (#6622)
YDX-2147483647 Aug 7, 2025
0b639c7
Document escaping semicolon, valid identifiers, and `state` tips (#6674)
YDX-2147483647 Aug 7, 2025
3119ba3
Ensure table headers trigger rowbreak (#6687)
PgBiel Aug 7, 2025
7546bff
Fix phrasing of iff (if and only if) in docs (#6713)
mewmew Aug 7, 2025
7392140
Remove redundant "This can be" from stroke docs of curve and polygon …
mewmew Aug 7, 2025
a16a4e9
Fix curve docs for fill (refer to curve instead of rectangle) (#6714)
mewmew Aug 7, 2025
da6aedf
Add span to `html.frame` node (#6716)
laurmaedje Aug 7, 2025
df9a9ca
Fix return type of `missing_method` (#6718)
laurmaedje Aug 7, 2025
bcc71dd
Encoding fixes for HTML raw text elements (#6720)
laurmaedje Aug 7, 2025
5babe88
Update RelativeTo to include tiling in docs (#6730)
mewmew Aug 11, 2025
07e73d7
Add missing "the" for cmyk function of color docs (#6731)
mewmew Aug 11, 2025
0b91d2e
Remove use of "last" and "end" for conic gradient circle docs (#6733)
mewmew Aug 11, 2025
8f1e446
Fix broken links in docs (#6734)
mewmew Aug 11, 2025
59812bf
Simplify links in docs (#6732)
mewmew Aug 11, 2025
1e1d943
Bump hayro and krilla (#6741)
magistau Aug 12, 2025
57f85eb
Deduplicate fallback smart quotes (#6747)
laurmaedje Aug 12, 2025
a7c8fd6
Move `is_inline` to `HtmlElem` (#6748)
laurmaedje Aug 12, 2025
343a57b
Move grid cell locator creation to GridLayouter (#6746)
saecki Aug 13, 2025
805fb24
HTML whitespace protection (#6750)
laurmaedje Aug 13, 2025
a7dac28
Improve code snippets in Table Guide (#6658)
Marcono1234 Aug 15, 2025
1d9a125
More accessible color scheme for raw blocks (#6754)
reknih Aug 15, 2025
5ef9469
Use `stylistic-set: 1` in favor of `ss01` in docs and tests (#6766)
YDX-2147483647 Aug 15, 2025
f985d15
Implement fraction styles: vertical, skewed, and horizontal. (#6672)
tjbcg Aug 17, 2025
f6c6c68
Bump Rust to 1.89 in CI (#6775)
laurmaedje Aug 17, 2025
880e69b
Fix typo in doc on quotes parameter of smartquote (#6779)
ultimatile Aug 18, 2025
eb93294
Fix logical order in bidirectional lines (#6796)
laurmaedje Aug 21, 2025
c163c46
Extract `trim_weak_spacing` function (#6797)
laurmaedje Aug 21, 2025
727df72
Separate items for hyphens, fixing style of repeated hyphen (#6798)
laurmaedje Aug 21, 2025
2501da4
Fix Unicode mapping of hyphenation artifacts (#6799)
laurmaedje Aug 21, 2025
aef36f3
Do not consider default ignorables when picking last resort font (#6805)
laurmaedje Aug 22, 2025
f9caddc
Compute width of shaped text on-demand (#6806)
laurmaedje Aug 22, 2025
720f01a
Fix `sub` and `super` oneliners (#6791)
MDLC01 Aug 22, 2025
206792b
Ensure that hyphenation is possible after a tag (#6807)
laurmaedje Aug 22, 2025
0b0c4cd
Make links to `$grid` in `table` docs more specific (#6776)
YDX-2147483647 Aug 22, 2025
f7b9322
Fix `repr` of `foo.with(..)` (#6773)
MDLC01 Aug 22, 2025
e1c9fc3
Fix case in docs serialization (#6808)
laurmaedje Aug 22, 2025
c7938e9
Add links and examples in the docs of `str` (#6751)
YDX-2147483647 Aug 22, 2025
f278e43
Hash page instead of frame for watch command (#6810)
pohlrabi404 Aug 27, 2025
2d5fa4f
Update nix flake and use nixfmt (#6827)
mkorje Aug 27, 2025
16758e7
Update & fix tutorial part 3 & 4 example code (#6778)
ensko Aug 27, 2025
b08593b
Improve docs on customizing `raw` (#6000)
PgBiel Aug 29, 2025
5546ebe
Better handle large numbers (u128/i128) in deserialization (#6836)
YDX-2147483647 Aug 29, 2025
0a86b5b
Follow the comment on setting the `State`'s mask (#6642)
frozolotl Aug 29, 2025
45ad064
Allow augment line at the beginning and end of a matrix (#5806)
siddhantdev Sep 1, 2025
1f41a9f
Fix slicing last n elements using count (#6838)
eltos Sep 1, 2025
3d64f7b
Fix auto hanging-indent for centered headings (#6839)
eltos Sep 1, 2025
64f0c12
Use rust-analyzer from fenix toolchain in flake (#6826)
mkorje Sep 1, 2025
a880ac8
Type safety for logical indices in line layout (#6848)
laurmaedje Sep 2, 2025
560e49b
Load linked bitmap images in SVG images (#6794)
tovrstra Sep 2, 2025
c340c27
Fix CJ-Latin space at manual line breaks (#6700)
YDX-2147483647 Sep 4, 2025
0a168b6
Allow multi-character symbols (#6489)
T0mstone Sep 4, 2025
154980b
Keep end of line whitespace glyphs (#6866)
laurmaedje Sep 5, 2025
e6f7b19
Fix punctuation in HTML placeholder (#6854)
MDLC01 Sep 5, 2025
bcb0782
Unify and document the behaviours of `{json,yaml,toml,cbor}.encode` (…
YDX-2147483647 Sep 5, 2025
19b53ad
Improve docs of various numbering parameters (#6757)
YDX-2147483647 Sep 5, 2025
674f7b4
Document and test `Sides<T>` parameters (#6862)
YDX-2147483647 Sep 5, 2025
a30dd71
Remove unused `Styles::set_family` (#6879)
laurmaedje Sep 8, 2025
9d8eeb2
Make clear that `Content::query_first` is naive (#6880)
laurmaedje Sep 8, 2025
8778845
Ensure correct tag nesting with grouping rules (#6881)
laurmaedje Sep 8, 2025
0890dc5
Avoid breaking after an empty frame (#6335)
EpicEricEE Sep 8, 2025
28a4eef
Add test for default ignorables before a breakpoint (#6782)
mkorje Sep 9, 2025
05c2658
Fix typos (#6878)
hpcfzl Sep 9, 2025
1a2f20f
Improve the docs on function params of `array.{sorted,dedup}` (#6756)
YDX-2147483647 Sep 9, 2025
43d761d
Add a link from `math.vec` to `math.{arrow,bold}` in docs (#6867)
YDX-2147483647 Sep 9, 2025
a514037
Add a disclaimer about embedding PDFs (#6888)
LaurenzV Sep 10, 2025
1519a57
Improve examples in the docs for under/over functions (#6889)
YDX-2147483647 Sep 10, 2025
130d0ab
Improve docs of `Celled<T>` params of `table` and `grid` (#6764)
YDX-2147483647 Sep 10, 2025
dabe24f
Fix off by one in tag expansion (#6900)
laurmaedje Sep 11, 2025
f542072
More useful `Debug` impls for `Tag` and `Location` (#6901)
laurmaedje Sep 11, 2025
80033bf
Fix potential crash in `Debug` impl of `Property` (#6902)
laurmaedje Sep 11, 2025
27f03f1
Fix `Debug` impl for end tags (#6906)
EpicEricEE Sep 12, 2025
68346f3
Make `select_where!` usable outside of typst-library (#6910)
laurmaedje Sep 12, 2025
978b16e
Fix footnote links in presence of styling (#6912)
laurmaedje Sep 12, 2025
6702dd9
Consistently ignore styles for tags (#6911)
laurmaedje Sep 12, 2025
88b6fc0
Expand tags even a bit more around groupings (#6909)
laurmaedje Sep 12, 2025
3ae6e9d
Don't warn for zero-sized horizontal spacing in HTML export
laurmaedje Sep 11, 2025
8a09c20
Use `singleton!` for `HElem::hole`
laurmaedje Sep 12, 2025
a5c18d1
Add way to attach role to closest element in HTML export
laurmaedje Sep 12, 2025
393f949
Add logical parent mechanism to HTML export
laurmaedje Sep 12, 2025
e2d26ea
Generalize mechanism for root styles to HTML export
laurmaedje Sep 12, 2025
338decd
Support footnotes in HTML export
laurmaedje Sep 12, 2025
b106f92
Add `default` argument to `array.join` (#6932)
MDLC01 Sep 19, 2025
84f9324
Replace the non-existent `$math.arrow` with `$math.accent` in the doc…
YDX-2147483647 Sep 19, 2025
9103b3b
Initial Hayagriva bump (#6920)
PgBiel Sep 19, 2025
5a02fac
Use different colors for object keys and string-based values in JSON …
JKRhb Sep 19, 2025
edd6286
Support for outline in HTML (#6606)
laurmaedje Sep 19, 2025
d663b1f
Use Title Case for Doc Pages (#6936)
MDLC01 Sep 19, 2025
1067313
Improve the docs for dictionary (#6899)
YDX-2147483647 Sep 19, 2025
586b049
Add an illustration for `par.{leading,spacing}` in docs (#6915)
YDX-2147483647 Sep 19, 2025
b652f7f
Initial plan
Copilot Sep 24, 2025
96e32ac
Merge remote-tracking branch 'upstream/main' into copilot/fix-7b31ae2…
Copilot Sep 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[alias]
testit = "test --workspace --test tests --"
1 change: 1 addition & 0 deletions .github/.well-known/funding-manifest-urls
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://typst.app/funding.json
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: 🐞 Compiler Bug Report
description: For bugs in the Typst compiler
title: Write a short and descriptive title!
labels:
- bug
body:
- type: markdown
attributes:
value: Thanks for reporting a bug in the Typst compiler. Did you [take a look](https://github.com/typst/typst/issues?q=is%3Aopen+is%3Aissue+label%3Abug) if your issue has already been filed? If so, join the discussion there! Is your issue related to Typst's web app? Please file it [here](https://github.com/typst/webapp-issues/issues) instead.
- type: textarea
id: description
attributes:
label: Description
description: Please describe your issue. Include specific steps to reproduce it or a screenshot if the problem is with Typst's output.
placeholder: Terse and specific description of the bug. You can add a screenshot by dragging an image here.
validations:
required: true
- type: input
id: repro-url
attributes:
label: Reproduction URL
description: If you did not specify Typst code above, you can share a link to your typst.app project here.
placeholder: https://typst.app/project/rU6j4Q5foiCcvB7Hz_gs9m
validations:
required: false
- type: dropdown
id: os
attributes:
label: Operating system
description: Which platform did you run the compiler on?
multiple: true
options:
- Web app
- Windows
- Linux
- macOS
validations:
required: false
- type: checkboxes
id: updated
attributes:
label: Typst version
description: Please check this box to confirm you are using the latest released version of Typst or an unreleased commit from this repository after the latest release.
options:
- label: I am using the latest version of Typst
required: false
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 🪴 Compiler Feature Request
description: For feature requests for the Typst compiler
title: Write a short and descriptive title!
labels:
- feature request
body:
- type: markdown
attributes:
value: Thanks for sharing your feature request for the Typst compiler. Did you [take a look](https://github.com/typst/typst/issues?q=is%3Aopen+is%3Aissue+label%3A%22feature+request%22) if a similar request has already been filed? If so, join the discussion there! Is your feature request related to Typst's web app? Please file it [here](https://github.com/typst/webapp-issues/issues) instead.
- type: textarea
id: description
attributes:
label: Description
description: Please describe your feature request. You can also add a mockup if you are requesting a new output feature!
placeholder: Terse and specific description of the feature. You can add an image by dragging a file here.
validations:
required: true
- type: textarea
id: use-case
attributes:
label: Use Case
description: Please describe why this feature would be useful.
placeholder: Describe what users can accomplish with this feature and whom it might be useful for.
validations:
required: true
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/3-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 📖 Documentation
description: For issues with the documentation
title: Write a short and descriptive title!
labels:
- docs
body:
- type: markdown
attributes:
value: Thanks for reporting an issue with Typst's documentation. Did you [take a look](https://github.com/typst/typst/issues?q=is%3Aopen+is%3Aissue+label%3Adocs) if your issue has already been filed? If so, join the discussion there! Is your issue related to Typst's web app? Please file it [here](https://github.com/typst/webapp-issues/issues) instead.
- type: textarea
id: description
attributes:
label: Description
description: Please describe your issue.
placeholder: Terse and specific description of the issue. You can add a screenshot by dragging an image here.
validations:
required: true
46 changes: 0 additions & 46 deletions .github/ISSUE_TEMPLATE/bug.yml

This file was deleted.

11 changes: 7 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ contact_links:
- name: 💻 Web App Issues
url: https://github.com/typst/webapp-issues/issues
about: Bug reports or feature requests for Typst's official web app
- name: 🏛️ Typst Forum
url: https://forum.typst.app/
about: Do you have a question instead of a specific bug or feature request? Open a question in the Forum!
- name: 💬 Typst Discord
url: https://discord.gg/2uDybryKPe
about: Get answers to your questions about Typst on our Discord server.
- name: 🗣️ Discussions on GitHub
url: https://github.com/typst/typst/discussions
about: Do you have a question instead of a specific bug or feature request? Open a discussion thread!
about: If you're unsure about your issue, join and chat with the community on our Discord server!
- name: 📨 Contact Us
url: https://typst.app/contact/
about: Did you have a bad interaction here or need to speak with the Typst Team privately? You can contact us directly.
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/feature.yml

This file was deleted.

102 changes: 91 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,117 @@
name: Continuous integration
on: [push, pull_request]
on: [push, pull_request, merge_group]

env:
RUSTFLAGS: "-Dwarnings"
RUSTDOCFLAGS: "-Dwarnings"
TYPST_TESTS_EXTENDED: true
PKG_CONFIG_i686-unknown-linux-gnu: /usr/bin/i686-linux-gnu-pkgconf

jobs:
# This allows us to have one branch protection rule for the full test matrix.
# See: https://github.com/orgs/community/discussions/4324
tests:
name: Tests
runs-on: ubuntu-latest
needs: [test-matrix]
if: always()
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Tests successful
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: exit 0
- name: Tests failing
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1

test-matrix:
name: Tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
bits: [64]
include:
- os: ubuntu-latest
bits: 32
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- if: startsWith(matrix.os, 'ubuntu-') && matrix.bits == 32
run: |
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y gcc-multilib libssl-dev:i386 pkg-config:i386
- uses: dtolnay/rust-toolchain@1.89.0
with:
targets: ${{ matrix.bits == 32 && 'i686-unknown-linux-gnu' || '' }}
- uses: Swatinem/rust-cache@v2
- run: cargo build --workspace
- run: cargo test --workspace --no-fail-fast
with:
key: ${{ matrix.bits }}
- run: cargo test --workspace --no-run ${{ matrix.bits == 32 && '--target i686-unknown-linux-gnu' || '' }}
- run: cargo test --workspace --no-fail-fast ${{ matrix.bits == 32 && '--target i686-unknown-linux-gnu' || '' }}
- name: Upload rendered test output
if: failure()
uses: actions/upload-artifact@v4
with:
name: tests-rendered-${{ matrix.os }}-${{ matrix.bits }}
path: tests/store/render/**
retention-days: 3
- name: Update test artifacts
if: failure()
run: |
cargo test --workspace --test tests ${{ matrix.bits == 32 && '--target i686-unknown-linux-gnu' || '' }} -- --update
echo 'updated_artifacts=1' >> "$GITHUB_ENV"
- name: Upload updated reference output (for use if the test changes are desired)
if: failure() && env.updated_artifacts
uses: actions/upload-artifact@v4
with:
name: tests-updated-${{ matrix.os }}-${{ matrix.bits }}
path: tests/ref/**
retention-days: 3

checks:
name: Check clippy, formatting, and documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.89.0
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --workspace --all-targets
- run: cargo clippy --workspace --all-targets --all-features
- run: cargo clippy --workspace --all-targets --no-default-features
- run: cargo fmt --check --all
- run: cargo doc --workspace --no-deps
- run: git diff --exit-code

min-version:
name: Check mininum Rust version
name: Check minimum Rust version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.70.0
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.88.0
- uses: Swatinem/rust-cache@v2
- run: cargo check --workspace

fuzz:
name: Check fuzzers
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2025-05-10
- uses: Swatinem/rust-cache@v2
- run: cargo install --locked cargo-fuzz@0.12.0
- run: cd tests/fuzz && cargo fuzz build --dev

miri:
name: Check unsafe code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
components: miri
toolchain: nightly-2025-05-10
- uses: Swatinem/rust-cache@v2
- run: cargo miri test -p typst-library test_miri
Loading
Loading