summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraphCode <15750438+raphCode@users.noreply.github.com>2023-09-07 12:01:50 +0200
committerGitHub <noreply@github.com>2023-09-07 12:01:50 +0200
commit66a595891793a0e6b0b90bbc0bed3e597610f857 (patch)
treea4f8bff18531dc37dc0f667dd8175b7739ff44ba
parent97ca009bb841902e00ff5cdfdf77459f47d088ef (diff)
Add note: footnote show/set rules at document start (#2078)
-rw-r--r--crates/typst-library/src/meta/footnote.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/crates/typst-library/src/meta/footnote.rs b/crates/typst-library/src/meta/footnote.rs
index 31ec9fe9..848c0b7c 100644
--- a/crates/typst-library/src/meta/footnote.rs
+++ b/crates/typst-library/src/meta/footnote.rs
@@ -58,7 +58,7 @@ cast! {
/// ```
///
/// _Note:_ Set and show rules in the scope where `footnote` is called may not
-/// apply to the footnote's content. See [here][issue] more information.
+/// apply to the footnote's content. See [here][issue] for more information.
///
/// [issue]: https://github.com/typst/typst/issues/1467#issuecomment-1588799440
///
@@ -166,6 +166,12 @@ impl Count for FootnoteElem {
/// This function is not intended to be called directly. Instead, it is used
/// in set and show rules to customize footnote listings.
///
+/// _Note:_ Set and show rules for `footnote.entry` must be defined at the
+/// beginning of the document in order to work correctly.
+/// See [here][issue] for more information.
+///
+/// [issue]: https://github.com/typst/typst/issues/1348#issuecomment-1566316463
+///
/// ## Example { #example }
/// ```example
/// #show footnote.entry: set text(red)