-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix spelling with data-style * add commas * strikethrough no
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# PEACE.JS | ||
|
||
Add the following piece (no pun intended) of code before the closing ```</body>``` tag on your website to promote **PEACE.JS**: | ||
Add the following piece (~no~ pun intended) of code before the closing ```</body>``` tag on your website to promote **PEACE.JS**: | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/peace.min.js" async></script> | ||
|
@@ -10,7 +10,7 @@ Add the following piece (no pun intended) of code before the closing ```</body>` | |
|
||
## Target | ||
|
||
By default **PEACE.JS** will be appeneded to the parent element of the ```<script>``` tag. If you'd like to inject it somewhere else simply add the `data-target` attribute: | ||
By default, **PEACE.JS** will be appeneded to the parent element of the ```<script>``` tag. If you'd like to inject it somewhere else, simply add the `data-target` attribute: | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/peace.min.js" data-target="#footer" async></script> | ||
|
@@ -26,7 +26,7 @@ The default text color for **PEACE.JS** is black. This can be controlled via the | |
|
||
## Style | ||
|
||
By default **PEACE.JS** will show the word Peace in different languages. If you prefer instead to show a peace symbol simply add the `data-stlye="symbol"` attribute to the script tag: | ||
By default, **PEACE.JS** will show the word Peace in different languages. If you prefer instead to show a peace symbol, simply add the `data-style="symbol"` attribute to the script tag: | ||
|
||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/peace.min.js" data-style="symbol" async></script> | ||
|