@@ -7,7 +7,7 @@ The Reveal-JS library is used for running the presentations.
7
7
8
8
** Here's a sample slide:**
9
9
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 >
11
11
12
12
Slides can include HTML, code, images, and iframes.
13
13
@@ -22,13 +22,13 @@ pytest my_presentation.py
22
22
23
23
``` python
24
24
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
+ """
32
32
```
33
33
34
34
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:
41
41
``` python
42
42
self .add_slide(content = None , image = None , code = None , iframe = None ,
43
43
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
+ """
56
56
```
57
57
58
58
59
59
### Running a presentation:
60
60
61
61
``` python
62
62
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. """
64
64
```
65
65
66
66
Before the presentation is run, the full HTML is saved to the `` presentations_saved/ `` folder.
0 commit comments