summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/pdf
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/pdf
parentd897ab5e7d2e941494df8ba137a1f92f8aada03a (diff)
Documentation fixes and improvements (#5816)
Diffstat (limited to 'crates/typst-library/src/pdf')
-rw-r--r--crates/typst-library/src/pdf/embed.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/typst-library/src/pdf/embed.rs b/crates/typst-library/src/pdf/embed.rs
index f9ca3ca0..001078e5 100644
--- a/crates/typst-library/src/pdf/embed.rs
+++ b/crates/typst-library/src/pdf/embed.rs
@@ -32,12 +32,10 @@ use crate::World;
/// embedded file conforms to PDF/A-1 or PDF/A-2.
#[elem(Show, Locatable)]
pub struct EmbedElem {
- /// Path of the file to be embedded.
+ /// The [path]($syntax/#paths) of the file to be embedded.
///
/// Must always be specified, but is only read from if no data is provided
/// in the following argument.
- ///
- /// For more details about paths, see the [Paths section]($syntax/#paths).
#[required]
#[parse(
let Spanned { v: path, span } =