{"id":17280333,"url":"https://github.com/mavrin/gitbook-plugin-jsfiddle","last_synced_at":"2025-04-14T09:41:15.998Z","repository":{"id":25576312,"uuid":"29010171","full_name":"Mavrin/gitbook-plugin-jsfiddle","owner":"Mavrin","description":"JSFiddle Integration into GitBook","archived":false,"fork":false,"pushed_at":"2022-04-28T21:10:11.000Z","size":260,"stargazers_count":13,"open_issues_count":9,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T23:01:48.882Z","etag":null,"topics":["gitbook","javascript","jsfiddle"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mavrin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-09T09:38:07.000Z","updated_at":"2023-04-10T06:12:12.000Z","dependencies_parsed_at":"2022-08-02T10:42:21.673Z","dependency_job_id":null,"html_url":"https://github.com/Mavrin/gitbook-plugin-jsfiddle","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mavrin%2Fgitbook-plugin-jsfiddle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mavrin%2Fgitbook-plugin-jsfiddle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mavrin%2Fgitbook-plugin-jsfiddle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mavrin%2Fgitbook-plugin-jsfiddle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mavrin","download_url":"https://codeload.github.com/Mavrin/gitbook-plugin-jsfiddle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248855749,"owners_count":21172638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gitbook","javascript","jsfiddle"],"created_at":"2024-10-15T09:20:03.398Z","updated_at":"2025-04-14T09:41:15.974Z","avatar_url":"https://github.com/Mavrin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/Mavrin/gitbook-plugin-jsfiddle.svg)](https://travis-ci.org/Mavrin/gitbook-plugin-jsfiddle)\n\nJSFiddle integration for GitBook\n==============\n\n### 1. You can use install it via **NPM** and save it to package.json:\n```\n$ npm install gitbook-plugin-jsfiddle --save\n```\n### 2. add the plugin to `book.json` config\n```\n{\n    \"plugins\": [ \"jsfiddle\"],\n    \"pluginsConfig\": {\n          \"jsfiddle\":{\n            \"type\":\"script\",\n            \"tabs\":[\"result\",\"js\",\"css\", \"html\"],\n            \"height\": \"500\",\n            \"width\": \"500\",\n            \"fontColor\": \"00FF00\"\n          }\n    }\n}\n```\nParam `type` can be 'frame' or 'script'.\n\nAlso you can use [other params](https://medium.com/jsfiddle-updates/new-jsfiddle-embeds-93ab7a51ee11#.vt34bxchv).\n\nIf you need to override setting for certain fiddle, you can just add this param in hash\n`https://jsfiddle.net/4o4z6fqn/9/#fontColor=00FF00\u0026type=frame`\n\n### 3. paste jsfiddle embedded code to you book something like\n`[source code](https://jsfiddle.net/4o4z6fqn/9/)`\n\nwill be rendered like [my book](http://api.taucharts.com/tutorials/1min.html) does.\n\nAlso you can see simple example in https://github.com/Mavrin/gitbook-example\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmavrin%2Fgitbook-plugin-jsfiddle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmavrin%2Fgitbook-plugin-jsfiddle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmavrin%2Fgitbook-plugin-jsfiddle/lists"}