summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPgBiel <9021226+PgBiel@users.noreply.github.com>2025-03-04 16:53:53 -0300
committerGitHub <noreply@github.com>2025-03-04 16:53:53 -0300
commitec3c058220fca17779761e241209b4122b8c7290 (patch)
tree2473b91088c304217bfc94538bf50d6e975988a0
parenta3c2489eb6e632367e1ac5d3f45f3aa3292be201 (diff)
use markup highlighting
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
-rw-r--r--crates/typst-library/src/text/raw.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/text/raw.rs b/crates/typst-library/src/text/raw.rs
index de249e2a..3dbd1d2d 100644
--- a/crates/typst-library/src/text/raw.rs
+++ b/crates/typst-library/src/text/raw.rs
@@ -31,7 +31,7 @@ use crate::World;
/// to embed computer code into your document.
///
/// Note that text given to this element cannot contain arbitrary formatting,
-/// such as `{*strong*}` or `{_emphasis_}`, as it is displayed verbatim. If
+/// such as `[*strong*]` or `[_emphasis_]`, as it is displayed verbatim. If
/// you'd like to display any kind of content with a monospace font, instead of
/// using [`raw`], you should change its font to a monospace font using the
/// [`text`]($text) function.