docs: update index

pull/32/head
Amio 2018-07-22 23:23:24 +08:00
rodzic 53d2b7d4a8
commit 7675c45325
4 zmienionych plików z 14 dodań i 4 usunięć

Wyświetl plik

@ -82,6 +82,12 @@ Available color names:
| uptime robot uptime (month) | ![](/uptime-robot/month/m780731617-a9e038618dc1aee36a44c4af) | [/uptime-robot/lasy-month/m780731617-a9e038618dc1aee36a44c4af](/uptime-robot/month/m780731617-a9e038618dc1aee36a44c4af)
| uptime robot response (last hour) | ![](/uptime-robot/response/m780731617-a9e038618dc1aee36a44c4af) | [/uptime-robot/response/m780731617-a9e038618dc1aee36a44c4af](/uptime-robot/response/m780731617-a9e038618dc1aee36a44c4af)
## Query params
- `label`: Override default subject text ([URL-Encoding][url-enc-href] needed for spaces or special characters)
- `emoji`: If subject/status text contains emoji, `emoji=1` will make it happy 👻
- `list`: `list=1` will replace `,` to ` | ` in status text
## About
Made with ❤️ by [Amio](https://github.com/amio)
@ -89,3 +95,5 @@ Made with ❤️ by [Amio](https://github.com/amio)
<a href="https://github.com/amio/badgen">badgen</a> |
<a href="https://github.com/amio/badgen-service">badgen-service</a>
</span>
[url-enc-href]: https://developer.mozilla.org/en-US/docs/Glossary/percent-encoding

Wyświetl plik

@ -9,6 +9,8 @@ module.exports = serveMarked('libs/index.md', {
td { padding: 0 1em 0 0; font-size: 14px; white-space: nowrap; height: 26px }
td img { height: 20px; position: relative; top: 2px }
td a { font: 12px/14px monospace }
pre, code { background-color: #f4f6f9 }
li { padding: 0.4em 0 }
`,
trackingGA: 'UA-4646421-14'
})

6
package-lock.json wygenerowano
Wyświetl plik

@ -3556,9 +3556,9 @@
"integrity": "sha512-TcZvGMMy9vodEFSse30lWinkj+JgOBvPn8wRItpQRSayhc+4ssDs335uklkfvQQJgL/WvmHLVj4Ycv2s7QCQMg=="
},
"serve-marked": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/serve-marked/-/serve-marked-0.2.0.tgz",
"integrity": "sha512-BkFgYKzajiR2Knx8mvQSWY6Z7npNKakw6qWjJNTVWGEa+68gWLdXnS5scwGK7+T0G48Q043jv7PweVxW8AigAw==",
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/serve-marked/-/serve-marked-0.2.3.tgz",
"integrity": "sha512-3C5tK85FKQRiTZw+e7JXDfYHVa95ZtP0lSa5gYk2ujj4raAwr7nzC4RV2jGXStCdaI/CjdaaspcWK8nWUg4a3w==",
"requires": {
"marked": "^0.4.0"
}

Wyświetl plik

@ -18,7 +18,7 @@
"micro": "^9.3.2",
"micro-fork": "^0.1.0",
"millify": "^2.0.1",
"serve-marked": "0.2.0"
"serve-marked": "0.2.3"
},
"devDependencies": {
"micro-dev": "^3.0.0",