{"id":19605118,"url":"https://github.com/a7ul/gitbook-plugin-expo-snack","last_synced_at":"2026-05-15T04:31:56.441Z","repository":{"id":75754508,"uuid":"113660845","full_name":"a7ul/gitbook-plugin-expo-snack","owner":"a7ul","description":"A gitbook plugin to add expo snacks","archived":false,"fork":false,"pushed_at":"2017-12-09T17:13:57.000Z","size":431,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-21T04:25:50.599Z","etag":null,"topics":["expo","gitbook","open-library","plugin","snack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a7ul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-09T10:25:06.000Z","updated_at":"2020-09-14T09:22:56.000Z","dependencies_parsed_at":"2023-06-07T14:30:48.942Z","dependency_job_id":null,"html_url":"https://github.com/a7ul/gitbook-plugin-expo-snack","commit_stats":null,"previous_names":["master-atul/gitbook-plugin-expo-snack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a7ul/gitbook-plugin-expo-snack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Fgitbook-plugin-expo-snack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Fgitbook-plugin-expo-snack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Fgitbook-plugin-expo-snack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Fgitbook-plugin-expo-snack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a7ul","download_url":"https://codeload.github.com/a7ul/gitbook-plugin-expo-snack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a7ul%2Fgitbook-plugin-expo-snack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33053711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["expo","gitbook","open-library","plugin","snack"],"created_at":"2024-11-11T09:41:14.880Z","updated_at":"2026-05-15T04:31:56.412Z","avatar_url":"https://github.com/a7ul.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitbook-plugin-expo-snack\n\nA gitbook plugin to include expo snack to your documentations/books\n\n### Instructions\n\nIn your `book.json`\n\n```\n{\n  \"plugins\": [\"expo-snack\"]\n}\n```\n\n### Usage:\nTo use the snack viewer\n1. Generate a snack url in expo.io\n2. Then use it as follows\n\n```\n{% exposnack %}\nsnack url\n{% endexposnack %}\n```\n\n**For example:**\n\n```\n{% exposnack %}\n@master-atul/test\n{% endexposnack %}\n```\n\n### Screenshot\n\n\u003cbr\u003e\n\n\u003cdiv style=\"text-align:center\"\u003e\n  \u003cimg src=\"https://github.com/master-atul/gitbook-plugin-expo-snack/raw/master/screens/preview.png\" style=\"width: 100%;display: inline;\"\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n\n\n#### Advanced:\n\n```\n{% exposnack\n  platform=\"ios\"\n  preview=\"true\"\n  theme=\"dark\"\n  hideCorrectLink=\"false\"\n  style=\"overflow:hidden;background:#212733;border:1px solid rgba(0,0,0,.16);border-radius:4px;height:600px;width:100%\n%}\n@master-atul/test\n{% endexposnack %}\n```\n*The above mentioned example is the default*\n\n#### Options:\n\n- platform=`\"android\" | \"ios\"`\n- preview=`\"true|false\"`\n- theme=\"`light|dark`\"\n- style=`\"overflow:hidden;background:#212733;\"`\n- hideCorrectLink=\"`false|true`\" `// Expo web embed widget has incorrect implementation of open external link to the original snack. The plugin by default adds the correct link icon on the right but u can choose to hide it.`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa7ul%2Fgitbook-plugin-expo-snack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa7ul%2Fgitbook-plugin-expo-snack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa7ul%2Fgitbook-plugin-expo-snack/lists"}