highlight keywords that need to be replaced

This commit is contained in:
jomo 2014-10-19 21:31:56 +02:00
parent 6baf03aa80
commit 48d33eae25
3 changed files with 26 additions and 7 deletions

View File

@ -10,4 +10,5 @@ See the [API Usage]('http://skins.jake0oo0.me')
* Clone the repository * Clone the repository
* npm install * npm install
* npm start * npm start
* http://localhost:3000

View File

@ -5,4 +5,11 @@ body {
a { a {
color: #00B7FF; color: #00B7FF;
}
mark.green {
background: inherit;
color: #008000;
font-weight: bold;
padding: 0;
} }

View File

@ -9,17 +9,28 @@ block content
p Welcome to Crafatar, a website for server Minecraft skins and heads! p Welcome to Crafatar, a website for server Minecraft skins and heads!
h2 API h2 API
hr hr
p Replace [uuid] with a Mojang UUID to get the related head. p
.well <img src="https://skins.jake0oo0.me/avatars/[uuid]"> | Replace
mark.green uuid
| with a Mojang UUID to get the related head.
.well
| <img src="https://skins.jake0oo0.me/avatars/
mark.green uuid
| ">
p(style="margin-top: 10px;") Example: UUID: '2d5aa9cdaeb049189930461fc9b91cc5', Username: Jake0oo0 p(style="margin-top: 10px;") Example: UUID: '2d5aa9cdaeb049189930461fc9b91cc5', Username: Jake0oo0
.well <img src="https://skins.jake0oo0.me/avatars/2d5aa9cdaeb049189930461fc9b91cc5"> .well <img src="https://skins.jake0oo0.me/avatars/2d5aa9cdaeb049189930461fc9b91cc5">
p(style="margin-top: 10px;") There is also an option to include a size, default is 180x180px. p(style="margin-top: 10px;") There is also an option to include a size, default is 180x180px.
.well <img src="https://skins.jake0oo0.me/avatars/[uuid]/[size]"> .well
p(style="margin-top: 10px;") Example: UUID: '2d5aa9cdaeb049189930461fc9b91cc5', Size: 250px, Username: Jake0oo0 | <img src="https://skins.jake0oo0.me/avatars/
.well <img src="https://skins.jake0oo0.me/avatars/2d5aa9cdaeb049189930461fc9b91cc5/250"> mark.green uuid
| /
mark.green size
| ">
p(style="margin-top: 10px;") Example: UUID: 'ae795aa86327408e92ab25c8a59f3ba1', Size: 250px, Username: redstone_sheep
.well <img src="https://skins.jake0oo0.me/avatars/ae795aa86327408e92ab25c8a59f3ba1/250">
.col-md-2 .col-md-2
img(src= "/avatars/2d5aa9cdaeb049189930461fc9b91cc5") img(src= "/avatars/2d5aa9cdaeb049189930461fc9b91cc5")
img(src= "/avatars/ae795aa86327408e92ab25c8a59f3ba1")
img(src= "/avatars/dab0a06256934c28bf0211142b388c33") img(src= "/avatars/dab0a06256934c28bf0211142b388c33")
img(src= "/avatars/3c7db14dac4b4e35b2c63b2237f382be") img(src= "/avatars/3c7db14dac4b4e35b2c63b2237f382be")
img(src= "/avatars/ae795aa86327408e92ab25c8a59f3ba1")
img(src= "/avatars/62c41f0e133d4192ad33f0896f47d23a") img(src= "/avatars/62c41f0e133d4192ad33f0896f47d23a")