Updated Plugins (markdown)
parent
4940713499
commit
efc825fa18
1 changed files with 0 additions and 11 deletions
11
Plugins.md
11
Plugins.md
|
@ -78,14 +78,3 @@ ol li .message {
|
|||
font-size: 1.5em;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Show the URIs instead of the names
|
||||
|
||||
``` js
|
||||
// show the URIs instead of the names
|
||||
$('a.name, h1 a').each(function (i, e) {
|
||||
e.title = e.innerHTML
|
||||
e.innerHTML = '^' + e.href.replace(/^http(s)?:\/\//i,'').replace(/\/$/,'')
|
||||
})
|
||||
```
|
||||
|
|
Reference in a new issue