{"id":20338177,"url":"https://github.com/billryan/gitbook-plugin-tags","last_synced_at":"2025-08-13T14:15:05.734Z","repository":{"id":55431367,"uuid":"67934452","full_name":"billryan/gitbook-plugin-tags","owner":"billryan","description":"Tags plugin for GitBook","archived":false,"fork":false,"pushed_at":"2017-12-22T06:24:23.000Z","size":15,"stargazers_count":25,"open_issues_count":3,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-19T19:45:50.668Z","etag":null,"topics":["gitbook","plugin"],"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/billryan.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":"2016-09-11T14:30:44.000Z","updated_at":"2024-11-23T16:10:10.000Z","dependencies_parsed_at":"2022-08-15T00:10:30.721Z","dependency_job_id":null,"html_url":"https://github.com/billryan/gitbook-plugin-tags","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/billryan/gitbook-plugin-tags","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fgitbook-plugin-tags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fgitbook-plugin-tags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fgitbook-plugin-tags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fgitbook-plugin-tags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billryan","download_url":"https://codeload.github.com/billryan/gitbook-plugin-tags/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fgitbook-plugin-tags/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270254205,"owners_count":24553001,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"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":["gitbook","plugin"],"created_at":"2024-11-14T21:11:56.297Z","updated_at":"2025-08-13T14:15:05.226Z","avatar_url":"https://github.com/billryan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitbook-plugin-tags\n\n[![npm](https://img.shields.io/npm/v/gitbook-plugin-tags.svg?style=plastic)](https://npmjs.org/package/gitbook-plugin-tags) [![npm](https://img.shields.io/npm/dm/gitbook-plugin-tags.svg?style=plastic)](https://npmjs.org/package/gitbook-plugin-tags) [![npm](https://img.shields.io/npm/dt/gitbook-plugin-tags.svg?style=plastic)](https://npmjs.org/package/gitbook-plugin-tags)\n\n## Tags for GitBook\n\nSince GitBook do not support this feature native, currently I create this plugin to create tags if `tags: xxx` in markdown page or YAML header.\n\n## Usage\n\n### create `tags.md` file and put it into `SUMMARY.md`\n\nCreate a file named `tags.md` at the root dir and put it at the last entry of `SUMMARY.md`.\nA valid `SUMMARY.md` is:\n```\n# Summary\n\n* [Introduction](README.md)\n* [First Chapter](chapter1.md)\n* [Tags](tags.md)\n```\nYou can keep the file `tags.md` empty or add header such as\n```\n# Tags\n```\n\n### add plugin in `book.json`\n\n```\n{\n  \"plugins\": [\n    \"tags\"\n  ],\n}\n```\n\n### add tags in page\n\nJust drop one line such as\n```\ntags: tag1, tag2, tag3 is here\n```\ntags are separated by comma.\n\n### config placement\n\nTags will show after the title by default, you can config the placement in the bottom.\n\n```\n    \"pluginsConfig\": {\n        \"tags\": {\n            \"placement\": \"bottom\"\n        }\n    }\n```\n\nDemo website ==\u003e https://yuanbin.gitbooks.io/test/content/\n\nEnjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillryan%2Fgitbook-plugin-tags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillryan%2Fgitbook-plugin-tags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillryan%2Fgitbook-plugin-tags/lists"}