Yip Coekjan

Results 40 comments of Yip Coekjan

If this is a good suggestion, I can help to implement it and send a PR :)

I slightly modified `crates/typst/src/text/{smallcaps,mod}.rs`, and now it can achieve the behavior: ```typ #set align(center) $ #smallcaps[SmallCaps] $ #show smallcaps: set text(font: "linux libertine", fill: blue) $ #smallcaps[SmallCaps] $ #show math.equation:...

The reason why `smallcaps` in math behaves differently seems relative to #366

> It is. Math fonts rarely (never?) have small caps, because they're not intended for use as a text font. When writing algorithm (using algorithmic:0.1.0), I meet such need: ```typ...

Thanks for your reply. > So it should rarely make sense to make all smallcaps red. Yes, the example (fill `smallcaps` red) I post above is just to demo the...

Hi, I am interested in this issue. Some details need discussion: 1. What datetime format should we support? - Some limited formats: `[year]-[month]-[day]`, `[hour]:[minute]:[second]`, `[year]-[month]-[day] [hour]:[minute]:[second]` ... - Customized formats...

I implemented a simple version just now. It could parse datetime with default/custom formats. ```typ #table( columns: (1fr, 1fr), align: left, table.header[*Parse with default formats*][*Parse with custom formats*], [ #datetime.parse("2024-05-26")...

I think these features could be useful when processing data from files (yaml, json, etc.). These features enable users to extract/parse datetime from their string data. For example, there is...

Current datetime `display` api does not support iso 8601 directly. If we allow iso format here, it seems a little asymmetrical between `display` and `parse`. I think we had better...

希望支持类似 `.gitignore` 的功能,在榕图中将用户不关心文件/目录排除