Skip to content

Commit bf9957c

Browse files
Fixes in README
1 parent 668ab68 commit bf9957c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ To this:
3636

3737
### Elements
3838

39-
You can create an element through a selector:
39+
You can create an element via selector:
4040

4141
```css
4242
div.classname#id[attr-1][attr-2='v'] {
43-
/* None of the parts of the selector are mandatory */
43+
/* None of the parts of a selector are mandatory */
4444
/* But at least something needs to be left */
4545
}
4646
```
@@ -120,7 +120,7 @@ div {
120120
<div>The battle continues again</div>
121121
```
122122

123-
In order to insert a tag _between the text_, you will definitely need special properties that allow you to enter text before and after the tag `--text-before` and `--text-after`:
123+
In order to insert a tag _between the text_, you will definitely need special properties that allow you to enter text before and after the tag: `--text-before` and `--text-after`
124124

125125
```css
126126
div {
@@ -154,13 +154,13 @@ console.log(result.outputHTML);
154154

155155
### Writing to a file
156156

157-
To write the html that turned out to be directly in a file, add the `write` parameter:
157+
To write in a file, add the `write` parameter:
158158
<br>
159159
(_Attention! The entire file will be **overwritten**_)
160160

161161
```js
162162
new CssToHtml({
163-
163+
...,
164164
write: {
165165
in: "your_path_to_html_file",
166166
},
@@ -177,7 +177,7 @@ Without `after` and `before` parameters:
177177

178178
```js
179179
new CssToHtml({
180-
180+
...,
181181
write: {
182182
in: "your_path_to_html_file",
183183
},
@@ -198,7 +198,7 @@ With `after` and `before` parameters:
198198

199199
```js
200200
new CssToHtml({
201-
201+
...,
202202
write: {
203203
...,
204204
after: '<some-html-content>',

0 commit comments

Comments
 (0)