Add note that show rules might not apply to footnotes (#1484)

This commit is contained in:
raphCode 2023-06-20 16:59:20 +02:00 committed by GitHub
parent 03675fc429
commit 8513c2b0fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,11 @@ use crate::visualize::LineElem;
/// there is a space before it in the markup. To force space, you can use the
/// string `[#" "]` or explicit [horizontal spacing]($func/h).
///
/// _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.
///
/// [issue]: https://github.com/typst/typst/issues/1467#issuecomment-1588799440
///
/// Display: Footnote
/// Category: meta
#[element(Locatable, Synthesize, Show)]