{"id":16233474,"url":"https://github.com/samelhusseini/gitbook-plugin-pxt","last_synced_at":"2025-10-24T13:23:20.725Z","repository":{"id":125701666,"uuid":"84347622","full_name":"samelhusseini/gitbook-plugin-pxt","owner":"samelhusseini","description":null,"archived":false,"fork":false,"pushed_at":"2017-03-08T17:44:58.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T04:47:57.436Z","etag":null,"topics":[],"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/samelhusseini.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-08T17:25:33.000Z","updated_at":"2017-03-08T17:37:17.000Z","dependencies_parsed_at":"2023-08-12T13:00:35.332Z","dependency_job_id":null,"html_url":"https://github.com/samelhusseini/gitbook-plugin-pxt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Fgitbook-plugin-pxt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Fgitbook-plugin-pxt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Fgitbook-plugin-pxt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samelhusseini%2Fgitbook-plugin-pxt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samelhusseini","download_url":"https://codeload.github.com/samelhusseini/gitbook-plugin-pxt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247797355,"owners_count":20997726,"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":[],"created_at":"2024-10-10T13:12:45.315Z","updated_at":"2025-10-24T13:23:20.636Z","avatar_url":"https://github.com/samelhusseini.png","language":"JavaScript","readme":"Gitbooks plugin for PXT\n==============\n\n### How to use it?\n\nAdd the below to your `book.json` file, then run `gitbook install` :\n\n```json\n{\n    \"plugins\": [\n        \"pxt@git+https://github.com/samelhusseini/gitbook-plugin-pxt.git\"\n    ]\n}\n```\n\nTo select a different base site, add this in your `book.json` : \n\n```json\n{\n    \"pluginsConfig\": {\n        \"pxt\": {\n            \"base\": \"pxt.microbit.org\"\n        }\n    }\n}\n```\n\nYou can now add PXT based simulator to your book using this tag:\n\n```markdown\n{% sim %}\ninput.onButtonPressed(Button.A, () =\u003e {\n  basic.showString(\"Hello!\")\n})\n{% endsim %}\n```\n\n```markdown\n{% docs %}\n``blocks\ninput.onButtonPressed(Button.A, () =\u003e {\n  basic.showString(\"Hello!\")\n})\n``\n{% enddocs %}\n```\n\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamelhusseini%2Fgitbook-plugin-pxt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamelhusseini%2Fgitbook-plugin-pxt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamelhusseini%2Fgitbook-plugin-pxt/lists"}