{"id":22248855,"url":"https://github.com/blocklune/hexo-blockquote2note","last_synced_at":"2026-02-09T07:04:12.438Z","repository":{"id":219870713,"uuid":"749714864","full_name":"BlockLune/hexo-blockquote2note","owner":"BlockLune","description":"A Hexo plugin that renders blockquotes to note tag in NexT theme.","archived":false,"fork":false,"pushed_at":"2024-12-10T04:15:41.000Z","size":154,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T22:43:12.357Z","etag":null,"topics":["blog","hexo","markdown","next-theme"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlockLune.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":"2024-01-29T08:51:28.000Z","updated_at":"2024-12-10T04:15:45.000Z","dependencies_parsed_at":"2024-02-02T12:25:12.775Z","dependency_job_id":"7d70aa7b-2f5a-4e05-a581-b768cd3577c5","html_url":"https://github.com/BlockLune/hexo-blockquote2note","commit_stats":{"total_commits":47,"total_committers":1,"mean_commits":47.0,"dds":0.0,"last_synced_commit":"999c7a7c4b09709792c16592fff11c4b445a4e15"},"previous_names":["blocklune/hexo-blockquote2note"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2Fhexo-blockquote2note","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2Fhexo-blockquote2note/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2Fhexo-blockquote2note/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockLune%2Fhexo-blockquote2note/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlockLune","download_url":"https://codeload.github.com/BlockLune/hexo-blockquote2note/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236337716,"owners_count":19132985,"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":["blog","hexo","markdown","next-theme"],"created_at":"2024-12-03T06:19:38.097Z","updated_at":"2025-10-13T11:31:01.451Z","avatar_url":"https://github.com/BlockLune.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hexo-blockquote2note\n\n![NPM Version](https://img.shields.io/npm/v/hexo-blockquote2note)\n![NPM Last Update](https://img.shields.io/npm/last-update/hexo-blockquote2note)\n\nA Hexo plugin that renders blockquotes to [the note tag of the NexT theme](https://theme-next.js.org/docs/tag-plugins/note).\n\n![Preview](doc/preview.png)\n\nYou may first edit your `_config.next.yml` to enable all features of the note tag. For example, this is mine:\n\n```yaml\nnote:\n  style: flat\n  icons: true\n```\n\n## Syntax\n\nSurround the blockquotes that you want to transform to notes with `\u003c!--blockquote2note--\u003e` (HEAD) and `\u003c!--end-blockquote2note--\u003e` (TAIL), and they will be rendered as the note tags.\n\nFor example:\n\n```md\n\u003c!--blockquote2note--\u003e\n\n\u003e This is an example blockquote.\n\n\u003c!--end-blockquote2note--\u003e\n```\n\nwill be rendered as:\n\n```md\n{% note %}\nThis is an example blockquote.\n{% endnote %}\n```\n\nConfiguration is supported.\n\nFor example:\n\n```md\n\u003c!--blockquote2note:default,no-icon,Test--\u003e\n\n\u003e This is an example blockquote.\n\n\u003c!--end-blockquote2note--\u003e\n```\n\nwill be rendered as:\n\n```md\n{% note default no-icon Test %}\nThis is Line 1 of this blockquote.\n{% endnote %}\n```\n\nAfter v1.1.0, purely blank lines between HEAD and TAIL are allowed. So it's also OK to use like:\n\n```md\n\u003c!--blockquote2note--\u003e\n\n\u003e This is an example.\n\n\u003c!--end-blockquote2note--\u003e\n```\n\n\u003e [!IMPORTANT] \u003e **Keep those commas**, even if an option is empty.  \n\u003e For example: `\u003c!--blockquote2note:,,Test--\u003e`.\n\n---\n\n\u003e [!CAUTION]\n\u003e Nested blockquotes are NOT supported.\n\n## Installation\n\n```bash\nnpm install hexo-blockquote2note --save\n```\n\n## Development\n\n### Setup\n\n```bash\ngit clone --depth=1 git@github.com:BlockLune/hexo-blockquote2note.git\npnpm install\n```\n\n### Test\n\n```bash\npnpm test\n```\n\n\u003e [!CAUTION]\n\u003e Node v21 may not show correct line numbers in stack traces when testing. See [this](https://github.com/BlockLune/hexo-blockquote2note/issues/1) issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocklune%2Fhexo-blockquote2note","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblocklune%2Fhexo-blockquote2note","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblocklune%2Fhexo-blockquote2note/lists"}