{"id":13536635,"url":"https://github.com/theme-next/hexo-theme-next-anchor","last_synced_at":"2025-04-02T03:30:54.806Z","repository":{"id":57263821,"uuid":"197007069","full_name":"theme-next/hexo-theme-next-anchor","owner":"theme-next","description":"A NexT plugin that adds an anchor to every heading.","archived":true,"fork":false,"pushed_at":"2019-10-08T05:20:34.000Z","size":10,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-11T17:08:57.612Z","etag":null,"topics":["anchor","hexo-theme"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theme-next.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":"2019-07-15T13:45:20.000Z","updated_at":"2024-08-11T17:08:57.613Z","dependencies_parsed_at":"2022-08-25T02:51:51.620Z","dependency_job_id":null,"html_url":"https://github.com/theme-next/hexo-theme-next-anchor","commit_stats":null,"previous_names":["1v9/hexo-theme-next-anchor"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theme-next%2Fhexo-theme-next-anchor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theme-next%2Fhexo-theme-next-anchor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theme-next%2Fhexo-theme-next-anchor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theme-next%2Fhexo-theme-next-anchor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theme-next","download_url":"https://codeload.github.com/theme-next/hexo-theme-next-anchor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246567072,"owners_count":20798108,"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":["anchor","hexo-theme"],"created_at":"2024-08-01T09:00:45.944Z","updated_at":"2025-04-02T03:30:54.573Z","avatar_url":"https://github.com/theme-next.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["NexT Plugins"],"readme":"# hexo-theme-next-anchor\n\n[![travis-image]][travis-url]\n[![hexo-image]][hexo-url]\n[![npm-image]][npm-url]\n[![lic-image]](LICENSE)\n\nA NexT plugin that adds an anchor to every heading.\n\n## Installation\n\n![size-image]\n[![dm-image]][npm-url]\n[![dt-image]][npm-url]\n\nGo to your Hexo root directory, then run this command:\n\n```bash\nnpm i hexo-theme-next-anchor\n```\n\n## Usage\n\n\u003e You need to write following options into your NexT configuration file.\n\n```yml\nanchor:\n  enable: true\n  color: '#0e83cd'\n  position: right # If left, anchors will always be visible.\n  margin: 7px \n  text: '#'\n  icon:\n    # If true, the `text` option will be ignored.\n    enable: false \n    # By default, NexT has built-in FontAwesome support.\n    # This option means `font-family: FontAwesome`, so DO Not change it.\n    # Also you can choose ForkAwesome, but that's another story.\n    font: FontAwesome\n    content: \\f0c1 # CSS content for FontAwesome \u0026 ForkAwesome.\n```\n\n## Thanks\n\nThis plugin was modified from [Hexo Site](https://github.com/hexojs/site/blob/e7b12f2f3da2f8f43618e6994668a77bb1ba14d2/scripts/helpers.js#L104-L119).\n\n[travis-image]: https://img.shields.io/travis/com/theme-next/hexo-theme-next-anchor?style=flat-square\n[hexo-image]: https://img.shields.io/badge/hexo-%3E%3D%203.0-blue?style=flat-square\n[npm-image]: https://img.shields.io/npm/v/hexo-theme-next-anchor?style=flat-square\n[lic-image]: https://img.shields.io/npm/l/hexo-theme-next-anchor?style=flat-square\n\n[size-image]: https://img.shields.io/github/languages/code-size/theme-next/hexo-theme-next-anchor?style=flat-square\n[dm-image]: https://img.shields.io/npm/dm/hexo-theme-next-anchor?style=flat-square\n[dt-image]: https://img.shields.io/npm/dt/hexo-theme-next-anchor?style=flat-square\n\n[travis-url]: https://travis-ci.org/theme-next/hexo-theme-next-anchor?branch=master\n[hexo-url]: https://hexo.io\n[npm-url]: https://www.npmjs.com/package/hexo-theme-next-anchor\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheme-next%2Fhexo-theme-next-anchor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheme-next%2Fhexo-theme-next-anchor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheme-next%2Fhexo-theme-next-anchor/lists"}