kopia lustrzana https://github.com/badgen/badgen.net
Create standalone index.md
rodzic
badf91af49
commit
ae699c339f
|
|
@ -0,0 +1,59 @@
|
|||
# Badgen
|
||||
|
||||
Fast badge generating service. Built with [badgen](https://github.com/amio/badgen).
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
https://badgen.now.sh/badge/:subject/:status/:color
|
||||
──┬── ───┬─── ──┬─── ──┬──
|
||||
│ │ │ └─ RGB / Color Name
|
||||
│ TEXT TEXT ( optional )
|
||||
│
|
||||
"badge" - default(static) badge generator
|
||||
```
|
||||
|
||||
Available color names:
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## Examples
|
||||
|
||||
#### Static Badge
|
||||
|
||||
| Preview | URL |
|
||||
| --- | --- |
|
||||
| | [/badge/chat/gitter/purple](/badge/chat/gitter/purple) |
|
||||
| | [/badge/style/standard/f2a](/badge/style/standard/f2a) |
|
||||
| | [/badge/stars/★★★★☆](/badge/stars/★★★★☆) |
|
||||
| | [/badge/license/Apache-2.0/blue](/badge/license/Apache-2.0/blue) |
|
||||
| | [/list/platform/ios,macos,tvos/grey](/list/platform/ios,macos,tvos/grey) |
|
||||
|
||||
#### Live Badge
|
||||
|
||||
| Keyword | Preview | URL |
|
||||
| --- | --- | --- |
|
||||
| npm version |  | [/npm/v/express](/npm/v/express) |
|
||||
| npm dl/day |  | [/npm/dd/express](/npm/dd/express) |
|
||||
| npm dl/week |  | [/npm/dw/express](/npm/dw/express) |
|
||||
| npm dl/month |  | [/npm/dm/express](/npm/dm/express) |
|
||||
| travis |  | [/travis/amio/micro-cors](/travis/amio/micro-cors) |
|
||||
| travis (org) |  | [/travis-org/styfle/packagephobia](/travis-org/styfle/packagephobia) |
|
||||
| circleci |  | [/circleci/github/amio/now-go](/circleci/github/amio/now-go) |
|
||||
| appveyor |  | [/appveyor/github/gruntjs/grunt](/appveyor/github/gruntjs/grunt) |
|
||||
|
||||
## About
|
||||
|
||||
Made with ❤️ by [Amio](https://github.com/amio)
|
||||
<span style="float:right; color: #AAA">
|
||||
<a href="https://github.com/amio/badgen-service">badgen-service</a> |
|
||||
<a href="https://github.com/amio/badgen">badgen</a>
|
||||
</span>
|
||||
|
|
@ -1,11 +1,12 @@
|
|||
const serveMarked = require('serve-marked')
|
||||
|
||||
module.exports = serveMarked('README.md', {
|
||||
module.exports = serveMarked('index.md', {
|
||||
title: 'Badgen - Fast badge generating service',
|
||||
preset: 'merri',
|
||||
inlineCSS: `
|
||||
table { border-spacing: 0 }
|
||||
td { padding: 0 1em 0 0; white-space: nowrap }
|
||||
td img { height: 20px }
|
||||
td a { font: 14px/14px monospace; vertical-align: top }
|
||||
`,
|
||||
trackingGA: 'UA-4646421-14'
|
||||
|
|
|
|||
2
now.json
2
now.json
|
|
@ -2,7 +2,7 @@
|
|||
"alias": "badgen",
|
||||
"public": true,
|
||||
"files": [
|
||||
"README.md",
|
||||
"index.md",
|
||||
"service.js",
|
||||
"libs"
|
||||
],
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue