Skip to content

Commit

Permalink
bump README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdj committed Feb 9, 2024
1 parent eec9a67 commit a3b213b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,14 +335,15 @@ set to 1.

#### Centering

To vertically center content, use `top: auto`. horizontally center content, use
To both both `left: auto` and `right: auto`. For example:
To vertically center content, use `top: auto`. To horizontally center content,
use both `left: auto` and `right: auto`. For example:

```markdown
---
title: Centered presentation
author: John Doe
patat:
wrap: true
margins:
left: auto
right: auto
Expand All @@ -352,6 +353,9 @@ patat:
Hello world
```

Setting `wrap: true` is recommended when vertically centering content if there
are any lines that are too wide for the terminal.

### Auto advancing

By setting `autoAdvanceDelay` to a number of seconds, `patat` will automatically
Expand Down

0 comments on commit a3b213b

Please sign in to comment.