Skip to content

Commit

Permalink
Fix readme (#2)
Browse files Browse the repository at this point in the history
* fix spelling with data-style

* add commas

* strikethrough no
  • Loading branch information
humancopy authored Sep 7, 2023
1 parent 3f95826 commit 3bc0e13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
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>
Expand All @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 3bc0e13

Please sign in to comment.