Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor readme fixes: missing space, code highlight #338

Merged
merged 1 commit into from
Jun 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,14 @@ with keep.running():
# / screenlock or blank the screen, but CPU will keep running.
```

If you want to *also* prevent screen lock and screen blank, use the <a href="https://wakepy.readthedocs.io/stable/modes.html#keep-presenting-mode">keep.presenting</a> mode:

If you want to *also* prevent screen lock and screen blank, use the <a href="https://wakepy.readthedocs.io/stable/modes.html#keep-presenting-mode">keep.presenting</a>mode:


```{code-block} python
```python
from wakepy import keep

with keep.presenting():
# Do something that takes a long time and requires the screen to be awake
```

<!-- end wakepy readme main -->

> [!TIP]
Expand Down Expand Up @@ -176,9 +173,9 @@ with keep.presenting():

## Footnotes

| |
| ---------------------------------------------------------------------------------------------------------------------------- |
| <sup>[1]</sup> Windows XP or higher. Windows Server 2003 or higher. |
| |
| ------------------------------------------------------------------------------------------------------------------------------------------- |
| <sup>[1]</sup> Windows XP or higher. Windows Server 2003 or higher. |
| <sup>[2]</sup> Mac OS X 10.8 Mountain Lion (July 2012) or newer. |
| <sup>[3]</sup> GNOME 2.24 (Sept 2008) onwards. |
| <sup>[4]</sup> KDE Plasma 5.12.90 (May 2018) onwards. |
Expand Down