summaryrefslogtreecommitdiff
path: root/library/src/compute/data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/compute/data.rs')
-rw-r--r--library/src/compute/data.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/compute/data.rs b/library/src/compute/data.rs
index a519e8e6..5b20727e 100644
--- a/library/src/compute/data.rs
+++ b/library/src/compute/data.rs
@@ -4,7 +4,7 @@ use typst::diag::{format_xml_like_error, FileError};
use crate::prelude::*;
-/// # Read file
+/// # Plain text
/// Read plain text from a file.
///
/// The file will be read and returned as a string.
@@ -13,7 +13,7 @@ use crate::prelude::*;
/// ```
/// #let text = read("data.html")
///
-/// An HTML file could look like this:
+/// An HTML file could look like this: \
/// #raw(text, lang: "html")
/// ```
///