{"id":15636440,"url":"https://github.com/bubkoo/hexo-filter-flowchart","last_synced_at":"2025-05-09T00:06:11.099Z","repository":{"id":57263334,"uuid":"78450588","full_name":"bubkoo/hexo-filter-flowchart","owner":"bubkoo","description":"Generate flowchart diagrams for Hexo.","archived":false,"fork":false,"pushed_at":"2019-06-11T10:58:02.000Z","size":13,"stargazers_count":123,"open_issues_count":4,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-26T15:05:01.832Z","etag":null,"topics":["flowchart","flowchart-diagrams","hexo-filter","hexo-filter-flowchart"],"latest_commit_sha":null,"homepage":"","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/bubkoo.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":"2017-01-09T17:09:59.000Z","updated_at":"2024-11-05T18:51:12.000Z","dependencies_parsed_at":"2022-09-02T05:23:45.826Z","dependency_job_id":null,"html_url":"https://github.com/bubkoo/hexo-filter-flowchart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubkoo%2Fhexo-filter-flowchart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubkoo%2Fhexo-filter-flowchart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubkoo%2Fhexo-filter-flowchart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubkoo%2Fhexo-filter-flowchart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bubkoo","download_url":"https://codeload.github.com/bubkoo/hexo-filter-flowchart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252883225,"owners_count":21819159,"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":["flowchart","flowchart-diagrams","hexo-filter","hexo-filter-flowchart"],"created_at":"2024-10-03T11:04:01.509Z","updated_at":"2025-05-09T00:06:11.075Z","avatar_url":"https://github.com/bubkoo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hexo-filter-flowchart\n\n[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/bubkoo/hexo-filter-flowchart/blob/master/LICENSE)\n\n[![npm:](https://img.shields.io/npm/v/hexo-filter-flowchart.svg?style=flat-square)](https://www.npmjs.com/packages/hexo-filter-flowchart)\n[![Package Quality](http://npm.packagequality.com/shield/hexo-filter-flowchart.svg)](http://packagequality.com/#?package=hexo-filter-flowchart)\n\n\u003e Generate flowchart diagrams for Hexo.\n\n## Install\n\n```\nnpm install --save hexo-filter-flowchart\n```\n\n## Usage\n\nThis plugin is based on [flowchart.js](https://github.com/adrai/flowchart.js), so you can defined the chart as follow:\n\n    ```flow\n    st=\u003estart: Start|past:\u003ehttp://www.google.com[blank]\n    e=\u003eend: End:\u003ehttp://www.google.com\n    op1=\u003eoperation: My Operation|past\n    op2=\u003eoperation: Stuff|current\n    sub1=\u003esubroutine: My Subroutine|invalid\n    cond=\u003econdition: Yes\n    or No?|approved:\u003ehttp://www.google.com\n    c2=\u003econdition: Good idea|rejected\n    io=\u003einputoutput: catch something...|request\n\n    st-\u003eop1(right)-\u003econd\n    cond(yes, right)-\u003ec2\n    cond(no)-\u003esub1(left)-\u003eop1\n    c2(yes)-\u003eio-\u003ee\n    c2(no)-\u003eop2-\u003ee\n    ```\n\n![snapshot.svg](https://cdn.rawgit.com/bubkoo/hexo-filter-flowchart/master/snapshot.svg)\n\n## Config\n\nIn your site's `_config.yml`:\n\n```yaml\nflowchart:\n  # raphael:   # optional, the source url of raphael.js\n  # flowchart: # optional, the source url of flowchart.js\n  options: # options used for `drawSVG`\n```\n\nYour config will be merged into default config:\n\n```json\n{\n  \"raphael\": \"https://cdnjs.cloudflare.com/ajax/libs/raphael/2.2.7/raphael.min.js\",\n  \"flowchart\": \"https://cdnjs.cloudflare.com/ajax/libs/flowchart/1.6.5/flowchart.min.js\",\n  \"options\": {\n    \"scale\": 1,\n    \"line-width\": 2,\n    \"line-length\": 50,\n    \"text-margin\": 10,\n    \"font-size\": 12\n  }\n}\n```\n\n## Related\n\n- [hexo-toc](https://github.com/bubkoo/hexo-toc) Insert a markdown TOC before posts be rendered.\n- [hexo-filter-fenced-code](https://github.com/bubkoo/hexo-filter-fenced-code) Extend syntax for the native fenced code block.\n- [hexo-filter-sequence](https://github.com/bubkoo/hexo-filter-sequence) Generate UML sequence diagrams for Hexo.\n- [hexo-filter-sub](https://github.com/bubkoo/hexo-filter-sub) Generate subscript (`\u003csub\u003e`) tag for Hexo.\n- [hexo-filter-sup](https://github.com/bubkoo/hexo-filter-sup) Generate superscript (`\u003csup\u003e`) tag for Hexo.\n- [hexo-theme-formula](https://github.com/bubkoo/hexo-theme-formula) Hexo theme base on jade and less.\n\n## Contributing\n\nPull requests and stars are highly welcome.\n\nFor bugs and feature requests, please [create an issue](https://github.com/bubkoo/hexo-filter-flowchart/issues/new).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbubkoo%2Fhexo-filter-flowchart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbubkoo%2Fhexo-filter-flowchart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbubkoo%2Fhexo-filter-flowchart/lists"}