This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: copy code buttons in markdown blocks (#1262)
* fix: adding a test spec to debug copy code buttons missing * fix: pasing the copyButtons prop everywhere it needs to go * fix: cleaning up some copybuttons work
- Loading branch information
Showing
3 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"readmeManual": true, | ||
"docs": [ | ||
{ | ||
"_id": "5c2e346b-50f9-4192-9e97-88e3155b24e4", | ||
"metadata": { | ||
"image": [], | ||
"title": "", | ||
"description": "" | ||
}, | ||
"api": { | ||
"method": "get", | ||
"url": "", | ||
"auth": "required", | ||
"params": [] | ||
}, | ||
"next": { | ||
"description": "", | ||
"pages": [] | ||
}, | ||
"title": "Getting Started With Your API", | ||
"updates": [], | ||
"type": "basic", | ||
"slug": "getting-started-with-your-api-1", | ||
"excerpt": "This page will help you get started with FUn API.", | ||
"body": "This is where you show your users how to set it up. You can use code samples, like this:\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"$http.post('/someUrl', data).success(successCallback);\\n\\nalert('test');\",\n \"language\": \"javascript\"\n }\n ]\n}\n[/block]\nTry dragging a block from the right to see how easy it is to add more content!", | ||
"order": 999, | ||
"isReference": true, | ||
"hidden": false, | ||
"sync_unique": "", | ||
"link_url": "", | ||
"link_external": false, | ||
"pendingAlgoliaPublish": false, | ||
"previousSlug": "", | ||
"slugUpdatedAt": "2021-04-29T21:05:51.244Z", | ||
"createdAt": "2021-04-29T21:42:53.568Z", | ||
"updatedAt": "2021-04-29T21:42:53.568Z", | ||
"__v": 0, | ||
"children": [], | ||
"childrenPages": [] | ||
} | ||
], | ||
"oasFiles": {}, | ||
"oasUrls": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters