Skip to content

Commit 4a28646

Browse files
committed
docs: fix typos
1 parent 91dd267 commit 4a28646

File tree

11 files changed

+71
-71
lines changed

11 files changed

+71
-71
lines changed

docs/admonition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Pandas are native to central China.
6565
You can also specify a custom color for the left border and the title using the `tc-admonition-color` attribute. The value should be a valid CSS color.
6666

6767
```markdown
68-
!!! custom tc-admonition-type="🕶️ Custombis" tc-admonition-color="#d7be00"
68+
!!! custom tc-admonition-type="🕶️ Custom" tc-admonition-color="#d7be00"
6969
Custom and custom color
7070
!!!
7171
```
@@ -83,5 +83,5 @@ Some info block
8383

8484
Custom and custom color
8585

86-
<!-- .element: class="admonition custom" data-admonition-icon="🕶️ Custombis" style="--tc-admonition-bg-color:#d7be00;" -->
86+
<!-- .element: class="admonition custom" data-admonition-icon="🕶️ Custom" style="--tc-admonition-bg-color:#d7be00;" -->
8787
```

docs/backgrounds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Backgrounds helpers
22

3-
In addition to the "revealJS way" to set a background for a slide (`<!-- .slide: data-background="...." -->`), you can use a new syntax:
3+
In addition to the "Reveal.js way" to set a background for a slide (`<!-- .slide: data-background="...." -->`), you can use a new syntax:
44

55
```md
66
![](./assets/images/light_background.jpg 'tc-bg')

docs/code.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22

33
In addition to what RevealJS offers : [RevealJS code features](https://revealjs.com/code/)
44

5-
Default theme applyed by TalkControl is `a11y-light`;
5+
Default theme applied by TalkControl is `a11y-light`;
66

77
![](./imgs/code-light.png)
88

99
## Switch to dark background slides
1010

11-
In this mode, the theme applyed is `a11y-dark`
11+
In this mode, the theme applied is `a11y-dark`
1212

1313
![](./imgs/code-dark.png)
1414

1515
## Light slide with dark code background
1616

17-
In this mode, the theme applyed is `a11y-dark`
17+
In this mode, the theme applied is `a11y-dark`
1818

1919
![](./imgs/code-light-dark.png)
2020

2121
## Copy to clipboard
2222

2323
TalkControl comes with a copy to clipboard icon that includes in clipboard the content of code slide.
2424

25-
/!\ This will work only if you have define an icon library to use (see [icons](./icons.md))
25+
/!\ This will work only if you have defined an icon library to use (see [icons](./icons.md))
2626

2727
### Configuration
2828

@@ -39,9 +39,9 @@ tcMarkedOptions: {
3939

4040
Here, the copy icon of FontAwesome will be used.
4141

42-
### Desactivation
42+
### Deactivation
4343

44-
You can desactiv this behaviour by simply setting to `false` the option `activeCopyClipboard` in `ThemeInitializer.init` method. Default value is `true`
44+
You can desactivate this behaviour by simply setting to `false` the option `activeCopyClipboard` in `ThemeInitializer.init` method. Default value is `true`
4545

4646
## Size of your code
4747

@@ -67,12 +67,12 @@ To force big size, simply suffix your code with class "big-code"
6767

6868
### Force Medium code
6969

70-
To force big size, simply suffix your code with class "medium-code"
70+
To force medium size, simply suffix your code with class "medium-code"
7171

7272
````md
7373
<!-- .slide: class="with-code" -->
7474

75-
## Some BIG Code
75+
## Some Medium Code
7676

7777
```xml
7878
<?xml version="1.0" encoding="utf-8"?>
@@ -135,7 +135,7 @@ By default there will be only 20 lines of code displayed. If you need more space
135135

136136
## Center your code on slide
137137

138-
It often arrived that you only display one code block on screen and you it to be center. To do this, add the class `alone` to the code block
138+
It often happens that you only display one code block on screen and you want it to be centered. To do this, add the class `alone` to the code block
139139

140140
````md
141141
<!-- .slide: class="with-code big-code" -->
@@ -155,9 +155,9 @@ It often arrived that you only display one code block on screen and you it to be
155155

156156
This will only work if you have one code block!
157157

158-
## Changing default font applyed
158+
## Changing default font applied
159159

160-
If you don't like `a11y-light` and `a11y-dark`, you can specify an other font, you will have to override fonts with css like this:
160+
If you don't like `a11y-light` and `a11y-dark`, you can specify another font, you will have to override fonts with css like this:
161161

162162
```css
163163
.with-code {

docs/helpers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin nec risus leo. Ve
4242

4343
![](./imgs/helper-image-float-left.png)
4444

45-
**Use flex-row positionning:**
45+
**Use flex-row positioning:**
4646

4747
```md
4848
<div class="flex-row">
@@ -187,7 +187,7 @@ Now, we integrate in TalkControl the possibility to directly add classes attribu
187187
![](./assets/images/gde.png 'custom-img-style')
188188
```
189189

190-
To use this syntax, you have to indicate to ThemeInitialiazer method the class you integrate to help the engine to analyse it:
190+
To use this syntax, you have to indicate to ThemeInitialiazer method the class you integrate to help the engine to analyze it:
191191

192192
```javascript
193193
tcMarkedOptions: {

docs/how-to.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,24 +46,24 @@ Here is a basic example in your `index.html`:
4646

4747
## RevealJS
4848

49-
This theme use target for [RevealJS](https://revealjs.com/#/) so all you can do with RevealJS is available with theme.
49+
This theme is a target for [RevealJS](https://revealjs.com/#/) so all you can do with RevealJS is available with this theme.
5050

5151
You can still use RevealJS API by importing `Reveal` object in `import { Reveal } from "talk-control-revealjs-extensions";`
5252

5353
# Configuration
5454

55-
The main configuration let use customize a lot the theme so it will propose lots of enhancements when calling `ThemeInitializer.init(options)`. All options with (\*) are mandatory
55+
The main configuration lets you customize a lot the theme so it will propose lots of enhancements when calling `ThemeInitializer.init(options)`. All options with (\*) are mandatory
5656

57-
- `slidesFactory`(\*): A function that return an array of objects describing the Markdown files to load. The show type could be precise in parameters (see "play with show type")
58-
- `activeCopyClipboard`: True if we use the clipboard, default applied is true
59-
- `tcMarkedOptions`: An object that could contain icons configuration. Default is an empty object
60-
- `tcI18nOptions`: Specify the place of markdown files (use for internationalization). Default language is 'EN'. By default, the slides should be placed in a "markdown" repository at the same level as the index.html
61-
- `tcCustomBackgroundOptions`: Specify the configuration to use custom backgrounds as template.
62-
- `tcThemeOptions`s: Define the default theme to use (default is 'talk-control').
63-
- `slidesRenderer`: function that render a Root element (in LitHTML). It takes an html element and the list of slides to render
64-
- `defaultSlidesType`: Define the "show type" of slides (default is "on-stage")
57+
- `slidesFactory`(\*): A function that returns an array of objects describing the Markdown files to load. The show type can be precise in parameters (see "play with show type")
58+
- `activeCopyClipboard`: true if we use the clipboard, default applied is true
59+
- `tcMarkedOptions`: An object that can contain icons configuration. Default is an empty object
60+
- `tcI18nOptions`: Specifies the place of markdown files (use for internationalization). Default language is 'EN'. By default, the slides should be placed in a "markdown" repository at the same level as the index.html
61+
- `tcCustomBackgroundOptions`: Specifies the configuration to use custom backgrounds as template.
62+
- `tcThemeOptions`: Defines the default theme to use (default is 'talk-control').
63+
- `slidesRenderer`: function that renders a Root element (in LitHTML). It takes an html element and the list of slides to render
64+
- `defaultSlidesType`: Defines the "show type" of slides (default is "on-stage")
6565

66-
According to the options passed, you can specify the desire configuration to apply
66+
According to the options passed, you can specify the desired configuration to apply
6767

6868
## HTML Configuration
6969

@@ -123,6 +123,6 @@ See [QRCodes](./qrcode.md)
123123

124124
See [Helpers](./helpers.md)
125125

126-
# Conditionnal display
126+
# Conditional display
127127

128128
See [ShowType](./show-type.md)

docs/i18n.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# I18N your slides
22

3-
If you want to translate your slides, you simply have to add the extension corresponding to the translate langage : `XX-slide.FR.md`.
4-
The default langage used is English, so by default a file with no extension or when you ask english slides, the engine provides you the markdown files without lang suffix.
5-
If your asking a slide that is not available in the asked langage, the engine will provide you the "default" langage slide.
6-
To resume, asking `EN` langage will serve you default markdown files.
3+
If you want to translate your slides, you simply have to add the extension corresponding to the translated language : `XX-slide.FR.md`.
4+
The default language used is English, so by default a file with no extension or when you ask for english slides, the engine provides you the markdown files without lang suffix.
5+
If you're asking for a slide that is not available in the asked language, the engine will provide you the "default" language slide.
6+
To summarize, asking for `EN` language will serve you default markdown files.
77

88
## How to use it ?
99

10-
If you have provide translation, to specify the langage you want to use, you have two options :
10+
If you have provided translation, to specify the language you want to use, you have two options :
1111

12-
- define the langage in the index.html
13-
- adding a parameter specifying the langage
12+
- define the language in the index.html
13+
- adding a parameter specifying the language
1414

15-
**The file translated have to be the exact translation of all the slides you in the original deck. As we serve a whole file, if there are missing slides in the translate file, there will be no fallback ! **
15+
**The translated file has to be the exact translation of all the slides you in the original deck. As we serve a whole file, if there are missing slides in the translate file, there will be no fallback ! **
1616

1717
The suffix of translated file have to be in **uppercase** !
1818

@@ -28,11 +28,11 @@ The suffix of translated file have to be in **uppercase** !
2828

2929
### Configuration by URL
3030

31-
Simply add a query parameter in the URL `data-lang` with the wanted langage after.
31+
Simply add a query parameter in the URL `data-lang` with the wanted language after.
3232

33-
## Changing default langage
33+
## Changing default language
3434

35-
If you want to change the default langage, you have to specify to the initializer which language it is:
35+
If you want to change the default language, you have to specify to the initializer which language it is:
3636

3737
tcI18nOptions :
3838

@@ -46,6 +46,6 @@ tcI18nOptions: {
4646
- `baseMarkdownPath` : specify the path to your markdown files (from the '/index.html' baseref).
4747
- `defaultLang` : Lang in uppercase to use by default
4848

49-
## There are error in my console.
49+
## There are errors in my console.
5050

51-
Indeed, if you haven't translate all your files, due to "fallback" mechanism, we check that every ask file exist before serving it. So if you don't translate all your files, it's will display you 404 errors.
51+
Indeed, if you haven't translated all your files, due to "fallback" mechanism, we check that every asked file exists before serving it. So if you don't translate all your files, it will display you 404 errors.

docs/layouts.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Different Layout
22

3-
For the moment, you have the possibilty to have multiples columns for displaying informations.
3+
For the moment, you have the possibility to have multiple columns for displaying informations.
44

55
## Multiple column layout
66

7-
Due to some "magic" done by RevealJS engine, it's recommand to not use multiple columns with vertical slides.
7+
Due to some "magic" done by RevealJS engine, it's recommended to not use multiple columns with vertical slides.
88

99
Multiple columns with background and vertical slides won't work.
1010

11-
A new syntax have to be used
11+
A new syntax has to be used
1212

1313
```md
1414
<!-- .slide: class="tc-multiple-columns" -->
@@ -64,4 +64,4 @@ Some content
6464

6565
![](./imgs/multiple-cols-bg.png)
6666

67-
Each column is consider as a section, so you can use helpers class in it.
67+
Each column is considered as a section, so you can use helpers class in it.

docs/qrcode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ To generate a QR code, use a syntax similar to an image, but with the `tc-qrcode
1212

1313
- `text-to-encode`: The data you want the QR code to contain. This is typically a URL.
1414
- `tc-qrcode`: The mandatory keyword that triggers the QR code generation.
15-
- `some text`: the 'legend' text associate
16-
- the part with `tc-qrcode` will arrive in class attribute, so you can add severals classes in it
15+
- `some text`: the 'legend' text associated
16+
- the part with `tc-qrcode` will arrive in class attribute, so you can add several classes in it
1717

1818
by default the size of QrCode is 500px square
1919

docs/show-type.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Create content for the configuration like restitution
1+
# Create content for the configuration like distribution
22

3-
With this configuration option you can easily create content that is different between, what you will play on stage and what you will give to your attendees without a complete rewrite of your slides. This configuration is a pair between a key specified in your index.html or URL parameters and a key present in your slides.
3+
With this configuration option you can easily create content that is different between, what you will play on stage and what you will give to your attendees without a complete rewrite of your slides. This configuration is a pairing between a key specified in your index.html or URL parameters and a key present in your slides.
44

55
**Index.html Configuration**
66

@@ -19,20 +19,20 @@ https://talk-control-revealjs-extensions.netlify.app/index.html?data-type=on-sta
1919
```markdown
2020
<!-- .slide: data-type-show="on-stage" -->
2121

22-
## A slide for prez only
22+
## A slide for presentation only
2323

2424
A few words !
2525
```
2626

27-
The slide 'A slide for prez only' will be visible only if the attribute `data-type` on index.html is set to "on-stage" or if the type URL parameter is set to "on-stage".
27+
The slide 'A slide for presentation only' will be visible only if the attribute `data-type` on index.html is set to "on-stage" or if the type URL parameter is set to "on-stage".
2828
Note that as for the themes described above, the URL parameter takes precedence over the HTML attribute.
2929

30-
With this technique, you can easily create 2 versions of your index.hml, one with `data-type-show` to **on-stage** and one with `data-type-show`to **full** and in your slides, you have something like that
30+
With this technique, you can easily create 2 versions of your index.html, one with `data-type-show` to **on-stage** and one with `data-type-show`to **full** and in your slides, you have something like that
3131

3232
```markdown
3333
<!-- .slide: data-type-show="on-stage" -->
3434

35-
## A slide for prez only
35+
## A slide for presentation only
3636

3737
A few words !
3838

@@ -47,15 +47,15 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin nec risus leo. Ve
4747

4848
If nothing is set in the markdown, the slide will be available for both versions.
4949

50-
You can also set multiples data-type-show in the same slide (separated by a space) to create kind of specifics configurations for your slides.
50+
You can also set multiple data-type-show in the same slide (separated by a space) to create kind of specifics configurations for your slides.
5151

5252
```markdown
5353
<!-- .slide: data-type-show="on-stage other" -->
5454
```
5555

5656
## Parameter given to slide factory
5757

58-
This parameter is also given to slideFactory function of ThemeInitializer. This could helps you "configuration" your slides.
58+
This parameter is also given to slideFactory function of ThemeInitializer. This can help you "configuration" your slides.
5959

6060
```javascript
6161
function formation(showType) {
@@ -84,12 +84,12 @@ function formation(showType) {
8484

8585
# UI to select and configure your slides
8686

87-
To select the slides to display, you have to give to the initializer a function that will return an array of objects with the path of the slides. So to choose your slide, you normally return 'only' the selected slides.
87+
To select the slides to display, you have to give to the initializer a function that will return an array of objects, each with a path to a slide. So to choose your slide, you normally return 'only' the selected slides.
8888

89-
You can also use the 'Slide selector' UI to select your slides. To do this, hit the key 'c' when you presentation is loaded. You will see a modal with all the slides availables. You can select the slides you want to display and click on the 'Validate selection' button. Only the selected path will be displayed.
89+
You can also use the 'Slide selector' UI to select your slides. To do this, hit the 'c' key when you presentation is loaded. You will see a modal with all the slides available. You can select the slides you want to display and click on the 'Validate selection' button. Only the selected path will be displayed.
9090

9191
The selection is stored in session storage so if you reload the page, the selection will be kept. But if you close the window or tab, the selection will be lost.
9292

93-
This UI will let you also configure the theme (institute / school / conf), the langage (FR / EN) and the type (prez / full / ...).
93+
This UI will let you also configure the theme (institute / school / conf), the language (FR / EN) and the type (presentation / full / ...).
9494

9595
![](./imgs/ui-selector.png)

docs/specifics-slides.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Speaker Slide
44

5-
2 Configuration of speaker slides exists
5+
2 Configuration of speaker slides exist
66

77
### One speaker
88

@@ -17,7 +17,7 @@
1717

1818
1919

20-
### Other informations
20+
### Other information
2121

2222
![](./assets/images/jf.jpg)<!-- .element: class="speaker" -->
2323

@@ -34,7 +34,7 @@
3434

3535
![](./imgs/speaker-basic.png)
3636

37-
You can also change the order of sub information (here CTO Front & @jefbinomed). You can set up to 6 sub informations : each one is a `<h3>` element
37+
You can also change the order of sub information (here CTO Front & @jefbinomed). You can set up to 6 sub information : each one is a `<h3>` element
3838

3939
You can also change the number of badge (up to 6). Each should have `class='badge'`
4040

@@ -84,7 +84,7 @@ You can also change the number of badge (up to 6). Each should have `class='badg
8484

8585
![](./imgs/speaker-two.png)
8686

87-
for the version with 2 speakers, only 3 sub informations and only 3
87+
for the version with 2 speakers, only 3 sub information and only 3
8888

8989
## Transitions slides
9090

@@ -183,14 +183,14 @@ source: [unsplash](https://unsplash.com/fr/photos/couloir-en-beton-avec-applique
183183

184184
## Quotes slides
185185

186-
You could have dedicate quote slide to display a citation
186+
You could have dedicated quote slide to display a citation
187187

188188
```md
189189
<!-- .slide: class="quote-slide" -->
190190

191-
## A dedicate Quote slide
191+
## A dedicated Quote slide
192192

193-
> A quote wihtout citation
193+
> A quote without citation
194194
```
195195

196196
![](./imgs/quote-slide.png)

0 commit comments

Comments
 (0)