From 02b9a0dd9f026ea91ca6172f2f4e060c2698227a Mon Sep 17 00:00:00 2001 From: Amio Date: Thu, 16 Aug 2018 11:12:18 +0800 Subject: [PATCH] docs: fix https & runkit docs --- libs/docs/https.md | 2 +- libs/docs/runkit.md | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libs/docs/https.md b/libs/docs/https.md index 75647c0..cd45e7d 100644 --- a/libs/docs/https.md +++ b/libs/docs/https.md @@ -16,7 +16,7 @@ or any platform, response with JSON in this format: { subject: 'hello', - label: 'world', + status: 'world', color: 'blue' } diff --git a/libs/docs/runkit.md b/libs/docs/runkit.md index ac8cd03..76e1bdf 100644 --- a/libs/docs/runkit.md +++ b/libs/docs/runkit.md @@ -17,21 +17,21 @@ https://runkit.com/home#endpoint If you are not familiar with RunKit endpoint, [this guide](https://runkit.com/docs/endpoint) would help. -1. Create a RunKit notebook, response with JSON like: +1. Create a RunKit notebook ([e.g.](https://runkit.com/amio/peoples)), response with JSON like: - { - subject: 'runkit', - label: 'hi', - color: 'blue' - } + { + subject: 'community', + status: '11363 members', + color: 'green' + } -2. Click "endpoint" on notebook page to get the endpoint, like: +2. Click "endpoint" on notebook page to get the endpoint: - https://people-txwpy888xiuk.runkit.sh/ + https://people-txwpy888xiuk.runkit.sh/ -3. Use this id (`untitled-txwpy888xiuk`) with Badgen, this is the badge url: +3. Use this id (`people-txwpy888xiuk`) with Badgen, this is the badge url (with param `102909`): - https://badgen.net/runkit/people-txwpy888xiuk + https://badgen.net/runkit/people-txwpy888xiuk/102909 ## Examples