{"id":49242529,"url":"https://github.com/aimtao/hexo-fold","last_synced_at":"2026-04-24T20:10:10.204Z","repository":{"id":186195644,"uuid":"674801532","full_name":"AimTao/hexo-fold","owner":"AimTao","description":"A plugin used to fold content block, modified from hexo-sliding-spoiler./ hexo 内容折叠插件","archived":false,"fork":false,"pushed_at":"2023-08-08T03:49:43.000Z","size":2212,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-08T22:24:48.576Z","etag":null,"topics":["fold","hexo"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/hexo-fold","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/AimTao.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":"2023-08-04T20:19:24.000Z","updated_at":"2024-12-08T15:07:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"4596854c-648c-4b03-8522-141120eb906c","html_url":"https://github.com/AimTao/hexo-fold","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"e96edd27ec72fefafae3a26ea4bc0da592c839ab"},"previous_names":["aimtao/hexo-fold"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/AimTao/hexo-fold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AimTao%2Fhexo-fold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AimTao%2Fhexo-fold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AimTao%2Fhexo-fold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AimTao%2Fhexo-fold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AimTao","download_url":"https://codeload.github.com/AimTao/hexo-fold/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AimTao%2Fhexo-fold/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32238855,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fold","hexo"],"created_at":"2026-04-24T20:10:09.470Z","updated_at":"2026-04-24T20:10:10.192Z","avatar_url":"https://github.com/AimTao.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A plugin used to fold content block, modified from [hexo-sliding-spoiler](https://github.com/fletchto99/hexo-sliding-spoiler).\n\nEnglish | [中文](https://github.com/AimTao/hexo-fold/blob/master/README_CN.md)\n\n+ [x] Simple, efficient and beautiful\n+ [x] Support text, images, code blocks, and more\n+ [x] Adaptive, ultra-large capacity\n+ [x] User-defined color\n\n## Demo\n\n![example.gif](img/example.gif)\n\n## Install\n\n```bash\nnpm install hexo-fold --save\n```\n\nIf hexo can't detect this plugin automatically, you need to modify the `plugins` section of `/_config.yml` manually, like:\n\n```yaml\nplugins:\n  - hexo-fold\n```\n\nIf you want to customize the color, please add the following configuration.\nThis is optional, if not configured a default color will be used.\n\n```yaml\nfold:\n  bg_color: \"#e5efe7\"\n  board_color: \"#e5efe7a1\"\n  text_color: \"#353535\"\n```\n\n## Syntax\n\n```plain\n{% fold title %}\ncontent\n{% endfold %}\n```\n\nIt will hide your text and place the title at the top with a dropdown/scroll up arrow.\n\n## Example\n\n### One word title\n\n```plain\n{% fold word %}\ncontent\n{% endfold %}\n```\n\n### Title containing spaces\n\n\n```plain\n{% fold \"Several spaces in the title\" %}\ncontent\n{% endfold %}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimtao%2Fhexo-fold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faimtao%2Fhexo-fold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimtao%2Fhexo-fold/lists"}