Commit Graph

31 Commits

Author SHA1 Message Date
Laurenz b036fd97ab Reformat with 2024 edition 2025-07-21 15:22:29 +02:00
Laurenz c9c2315ad3 Fix 2024 clippy warnings 2025-07-21 15:22:29 +02:00
Lachlan Kermode 627f5b9d4f
Add show rule for smallcaps in HTML (#6600) 2025-07-17 16:09:13 +00:00
Laurenz 0a4b72f8f6
Partially automate span assignment in native show rule (#6613) 2025-07-16 08:55:06 +00:00
Laurenz c58766440c
Support intra-doc links in HTML (#6602) 2025-07-16 08:17:42 +00:00
Malo cdbf60e883
Change `enum.item.number` to `Smart` instead of `Option` (#6609) 2025-07-16 08:05:52 +00:00
Laurenz 9a6268050f
HTML frame improvements (#6605) 2025-07-15 14:48:31 +00:00
Laurenz 275012d7c6
Handle `lower` and `upper` in HTML export (#6585) 2025-07-10 10:54:06 +00:00
Laurenz 98802dde7e
Complete movement of HTML export code to `typst-html` (#6584) 2025-07-10 10:42:34 +00:00
Laurenz 3aa7e861e7
Support images in HTML export (#6578) 2025-07-09 13:48:43 +00:00
Laurenz 52a708b988
Move `html` module to `typst-html` crate (#6577) 2025-07-09 09:46:40 +00:00
Laurenz e5e1dcd9c0
Target-specific native show rules (#6569) 2025-07-09 08:16:36 +00:00
Laurenz 0a3c6939dd
Rewrite foundations of native elements (#6547) 2025-07-08 08:52:43 +00:00
Laurenz 6a1d6c08e2
Consistent sizing for `html.frame` (#6505) 2025-06-26 08:07:41 +00:00
Laurenz f2f527c451
Also fix encoding of `<textarea>` (#6497) 2025-06-24 15:52:15 +00:00
Laurenz bf8ef2a4a5 Properly handle raw text elements 2025-06-23 15:59:22 +02:00
Laurenz c2e2fd99f6 Extract `write_children` function 2025-06-23 15:56:01 +02:00
Laurenz f8dc1ad3bd Handle pre elements that start with a newline 2025-06-23 15:56:01 +02:00
Laurenz 9050ee1639 Turn non-empty void element into export error 2025-06-23 14:22:09 +02:00
Laurenz fbb02f40d9 Consistent codepoint formatting in HTML and PDF error messages 2025-06-23 14:18:41 +02:00
Laurenz fee6844045 Encode empty attributes with shorthand syntax 2025-06-20 17:32:37 +02:00
Approximately Equal 94a497a01f
Add HTML meta tags for document authors and keywords (#6134) 2025-04-07 20:18:52 +00:00
Laurenz 225e845021
Fix introspection of HTML root sibling metadata (#5953) 2025-02-25 11:31:15 +00:00
Sharzy 36d83c8c09
HTML export: fix elem counting on classify_output (#5910)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-02-24 16:35:13 +00:00
Laurenz 26e65bfef5
Semantic paragraphs (#5746) 2025-01-24 12:11:26 +00:00
Laurenz 467968af07
Tweak HTML pretty printing (#5745) 2025-01-24 11:15:09 +00:00
Laurenz cd044825fc
Handle boxes and blocks a bit better in HTML export (#5744)
Co-authored-by: Martin Haug <3874949+reknih@users.noreply.github.com>
2025-01-23 22:18:02 +00:00
Michael Färber dda486a412
HTML tables (#5666) 2025-01-23 12:08:48 +00:00
Laurenz cb8d862a55
Terminate pretty-printed HTML with trailing newline (#5661) 2025-01-06 13:55:34 +00:00
Michael Färber 17f20c6944
Basic HTML pretty-printing (#5533)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-10 09:57:22 +00:00
Laurenz e0122a5b50 Add HTML export format 2024-12-04 10:12:07 +01:00