aggiornato README
This commit is contained in:
parent
f5c0ab8d91
commit
281d75d0cc
27
README.md
27
README.md
|
@ -7,15 +7,36 @@ add the mailgo script in a web page to substitute all the `mailgo:` links with t
|
|||
![mailgo modal](/assets/img/screen-1.png)
|
||||
|
||||
to exclude a mailto link add to the `<a>` element the class `no-mailgo` like in this example:
|
||||
`<a class="no-mailgo" href="mailto:matteo@manzinello.dev">matteo@manzinello.dev</a>`
|
||||
|
||||
```
|
||||
<a class="no-mailgo" href="mailto:matteo@manzinello.dev">matteo@manzinello.dev</a>
|
||||
```
|
||||
|
||||
## script (development)
|
||||
|
||||
`<script src="https://cdn.jsdelivr.net/gh/manzinello/mailgo@latest/dist/mailgo.min.js"></script>`
|
||||
```
|
||||
<script src="https://cdn.jsdelivr.net/gh/manzinello/mailgo@latest/dist/mailgo.min.js"></script>
|
||||
```
|
||||
|
||||
## script
|
||||
|
||||
`<script src="https://cdn.jsdelivr.net/npm/mailgo/dist/mailgo.min.js"></script>`
|
||||
```
|
||||
<script src="https://cdn.jsdelivr.net/npm/mailgo/dist/mailgo.min.js"></script>
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```
|
||||
<script src="https://cdn.jsdelivr.net/npm/mailgo@latest/dist/mailgo.min.js"></script>
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```
|
||||
<script src="https://cdn.jsdelivr.net/npm/mailgo@[VERSION]/dist/mailgo.min.js"></script>
|
||||
```
|
||||
|
||||
specifying `[VERSION]`
|
||||
|
||||
## docs
|
||||
|
||||
|
|
Loading…
Reference in New Issue