diff options
| author | Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com> | 2024-10-22 16:09:51 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-22 13:09:51 +0000 |
| commit | 33b9d1c7db460e0ecb24762c08a8d3a085ba4e63 (patch) | |
| tree | 566e424e29bf0f36ed1389710557bf1bc4b66d96 /crates | |
| parent | 838dabc84cfea04c135aaff2f89ec4b2b32926e4 (diff) | |
Improved docs for `par.line.numbering-scope` (#5250)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/typst/src/model/par.rs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/crates/typst/src/model/par.rs b/crates/typst/src/model/par.rs index 32fc926f..15bad61f 100644 --- a/crates/typst/src/model/par.rs +++ b/crates/typst/src/model/par.rs @@ -380,13 +380,16 @@ impl Construct for ParLine { /// Possible line numbering scope options, indicating how often the line number /// counter should be reset. +/// +/// Note that, currently, manually resetting the line number counter is not +/// supported. #[derive(Debug, Cast, Clone, Copy, PartialEq, Eq, Hash)] pub enum LineNumberingScope { - /// Indicates the line number counter spans the whole document, that is, - /// is never automatically reset. + /// Indicates that the line number counter spans the whole document, i.e., + /// it's never automatically reset. Document, - /// Indicates the line number counter should be reset at the start of every - /// new page. + /// Indicates that the line number counter should be reset at the start of + /// every new page. Page, } |
