summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/loading/json.rs
diff options
context:
space:
mode:
authorMalo <57839069+MDLC01@users.noreply.github.com>2025-02-06 11:18:10 +0100
committerGitHub <noreply@github.com>2025-02-06 10:18:10 +0000
commitca702c7f82ef8e027e559228dc9c469e1a65ac6f (patch)
tree7644023bf512d4f7e36c94eb877d6d9543b41d13 /crates/typst-library/src/loading/json.rs
parentd897ab5e7d2e941494df8ba137a1f92f8aada03a (diff)
Documentation fixes and improvements (#5816)
Diffstat (limited to 'crates/typst-library/src/loading/json.rs')
-rw-r--r--crates/typst-library/src/loading/json.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/typst-library/src/loading/json.rs b/crates/typst-library/src/loading/json.rs
index 185bac14..aa908cca 100644
--- a/crates/typst-library/src/loading/json.rs
+++ b/crates/typst-library/src/loading/json.rs
@@ -51,9 +51,7 @@ use crate::loading::{DataSource, Load, Readable};
#[func(scope, title = "JSON")]
pub fn json(
engine: &mut Engine,
- /// Path to a JSON file or raw JSON bytes.
- ///
- /// For more details about paths, see the [Paths section]($syntax/#paths).
+ /// A [path]($syntax/#paths) to a JSON file or raw JSON bytes.
source: Spanned<DataSource>,
) -> SourceResult<Value> {
let data = source.load(engine.world)?;