mirror of
https://github.com/typst/typst
synced 2025-05-13 12:36:23 +08:00
Fix typo
This commit is contained in:
parent
4428646c99
commit
ff8cd46c50
@ -40,7 +40,7 @@ it is:
|
|||||||
<img alt="Example" width="900" src="https://user-images.githubusercontent.com/17899797/226325459-6baa66fa-4c11-4eba-8f04-ef0fa796aa50.png"/>
|
<img alt="Example" width="900" src="https://user-images.githubusercontent.com/17899797/226325459-6baa66fa-4c11-4eba-8f04-ef0fa796aa50.png"/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
Let's disect what's going on:
|
Let's dissect what's going on:
|
||||||
|
|
||||||
- We use _set rules_ to configure element properties like the size of pages or
|
- We use _set rules_ to configure element properties like the size of pages or
|
||||||
the numbering of headings. By setting the page height to `auto`, it scales to
|
the numbering of headings. By setting the page height to `auto`, it scales to
|
||||||
|
@ -145,7 +145,7 @@ use crate::prelude::*;
|
|||||||
/// #mine.step()
|
/// #mine.step()
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// Let's disect what happens in the example above:
|
/// Let's dissect what happens in the example above:
|
||||||
///
|
///
|
||||||
/// - We call [`locate`]($func/locate) to get access to the current location in
|
/// - We call [`locate`]($func/locate) to get access to the current location in
|
||||||
/// the document. We then pass this location to our counter's `at` method to
|
/// the document. We then pass this location to our counter's `at` method to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user