summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-08-06 10:37:15 +0200
committerGitHub <noreply@github.com>2024-08-06 08:37:15 +0000
commitcd02ae709f66742b6f50d6b84315feb8a7156d77 (patch)
tree4c2a51183e124243c535ef5bd948dabb64c41d8b /crates
parent6856d5e672d68d8ac82d327da774985327433a4f (diff)
Move roadmap and community pages out of this repository (#4688)
Diffstat (limited to 'crates')
-rw-r--r--crates/typst/src/foundations/calc.rs4
-rw-r--r--crates/typst/src/text/mod.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/typst/src/foundations/calc.rs b/crates/typst/src/foundations/calc.rs
index eb0b59dd..d07b23c5 100644
--- a/crates/typst/src/foundations/calc.rs
+++ b/crates/typst/src/foundations/calc.rs
@@ -728,7 +728,7 @@ pub fn clamp(
///
/// ```example
/// #calc.min(1, -3, -5, 20, 3, 6) \
-/// #calc.min("typst", "in", "beta")
+/// #calc.min("typst", "is", "cool")
/// ```
#[func(title = "Minimum")]
pub fn min(
@@ -746,7 +746,7 @@ pub fn min(
///
/// ```example
/// #calc.max(1, -3, -5, 20, 3, 6) \
-/// #calc.max("typst", "in", "beta")
+/// #calc.max("typst", "is", "cool")
/// ```
#[func(title = "Maximum")]
pub fn max(
diff --git a/crates/typst/src/text/mod.rs b/crates/typst/src/text/mod.rs
index e379c05e..d1e841af 100644
--- a/crates/typst/src/text/mod.rs
+++ b/crates/typst/src/text/mod.rs
@@ -452,7 +452,7 @@ pub struct TextElem {
/// If you set this to `rtl` and experience bugs or in some way bad looking
/// output, please do get in touch with us through the
/// [contact form](https://typst.app/contact) or our
- /// [Discord server]($community/#discord)!
+ /// [Discord server](https://discord.gg/2uDybryKPe)!
///
/// ```example
/// #set text(dir: rtl)