diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-05-23 15:00:59 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-05-23 15:02:17 +0200 |
| commit | f2193307c48055e54d4d1b5eca43bf0189699d40 (patch) | |
| tree | b75bf7f7599c427e2ef0845915e09b90b1e4913b /library/src/text | |
| parent | 5933577dcf581141b3b51d9b3f25204bf60a6ae5 (diff) | |
Add note to text fractions
Fixes #465
Fixes #1105
Diffstat (limited to 'library/src/text')
| -rw-r--r-- | library/src/text/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/src/text/mod.rs b/library/src/text/mod.rs index 1fefc6cb..e86bc168 100644 --- a/library/src/text/mod.rs +++ b/library/src/text/mod.rs @@ -452,6 +452,10 @@ pub struct TextElem { /// Whether to turn numbers into fractions. Setting this to `{true}` /// enables the OpenType `frac` font feature. /// + /// It is not advisable to enable this property globally as it will mess + /// with all appearances of numbers after a slash (e.g., in URLs). Instead, + /// enable it locally when you want a fraction. + /// /// ```example /// 1/2 \ /// #text(fractions: true)[1/2] |
