Skip to content

Commit b56e01b

Browse files
committed
Update a ReadMe
1 parent fcebb6e commit b56e01b

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

examples/presenter/ReadMe.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The Reveal-JS library is used for running the presentations.
77

88
**Here's a sample slide:**
99

10-
<img src="https://seleniumbase.io/other/presenter_screen.png" title="Screenshot"><br>
10+
<img width="90%" src="https://seleniumbase.io/other/presenter_screen.png" title="Screenshot"><br>
1111

1212
Slides can include HTML, code, images, and iframes.
1313

@@ -22,13 +22,13 @@ pytest my_presentation.py
2222

2323
```python
2424
self.create_presentation(name=None, show_notes=True)
25-
""" Creates a Reveal-JS presentation that you can add slides to.
26-
@Params
27-
name - If creating multiple presentations at the same time,
28-
use this to specify the name of the current presentation.
29-
show_notes - When set to True, the Notes feature becomes enabled,
30-
which allows presenters to see notes next to slides.
31-
"""
25+
""" Creates a Reveal-JS presentation that you can add slides to.
26+
@Params
27+
name - If creating multiple presentations at the same time,
28+
use this to specify the name of the current presentation.
29+
show_notes - When set to True, the Notes feature becomes enabled,
30+
which allows presenters to see notes next to slides.
31+
"""
3232
```
3333

3434
If creating multiple presentations at the same time, you can pass the ``name`` parameter to distinguish between different presentations.
@@ -41,26 +41,26 @@ Notes are enabled by default unless you specify:
4141
```python
4242
self.add_slide(content=None, image=None, code=None, iframe=None,
4343
notes=None, name=None)
44-
""" Allows the user to add slides to a presentation.
45-
@Params
46-
content - The HTML content to display on the presentation slide.
47-
image - Attach an image (from a URL link) to the slide.
48-
code - Attach code of any programming language to the slide.
49-
Language-detection will be used to add syntax formatting.
50-
iframe - Attach an iFrame (from a URL link) to the slide.
51-
notes - Additional notes to include with the slide.
52-
ONLY SEEN if show_notes is set for the presentation.
53-
name - If creating multiple presentations at the same time,
54-
use this to select the presentation to add slides to.
55-
"""
44+
""" Allows the user to add slides to a presentation.
45+
@Params
46+
content - The HTML content to display on the presentation slide.
47+
image - Attach an image (from a URL link) to the slide.
48+
code - Attach code of any programming language to the slide.
49+
Language-detection will be used to add syntax formatting.
50+
iframe - Attach an iFrame (from a URL link) to the slide.
51+
notes - Additional notes to include with the slide.
52+
ONLY SEEN if show_notes is set for the presentation.
53+
name - If creating multiple presentations at the same time,
54+
use this to select the presentation to add slides to.
55+
"""
5656
```
5757

5858

5959
### Running a presentation:
6060

6161
```python
6262
self.begin_presentation(filename="my_presentation.html", name=None)
63-
""" Begin a Reveal-JS Presentation in the web browser. """
63+
""" Begin a Reveal-JS Presentation in the web browser. """
6464
```
6565

6666
Before the presentation is run, the full HTML is saved to the ``presentations_saved/`` folder.

0 commit comments

Comments
 (0)