{"id":26743899,"url":"https://github.com/tylingsoft/markdown-it-chart","last_synced_at":"2025-07-08T17:42:16.120Z","repository":{"id":57142138,"uuid":"86910171","full_name":"tylingsoft/markdown-it-chart","owner":"tylingsoft","description":"Chart.js plugin for markdown-it.","archived":false,"fork":false,"pushed_at":"2017-12-18T14:39:00.000Z","size":83,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-24T15:23:52.370Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tylingsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-01T11:53:42.000Z","updated_at":"2022-12-17T11:12:09.000Z","dependencies_parsed_at":"2022-09-05T10:00:32.471Z","dependency_job_id":null,"html_url":"https://github.com/tylingsoft/markdown-it-chart","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/tylingsoft%2Fmarkdown-it-chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylingsoft%2Fmarkdown-it-chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylingsoft%2Fmarkdown-it-chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylingsoft%2Fmarkdown-it-chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tylingsoft","download_url":"https://codeload.github.com/tylingsoft/markdown-it-chart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248941568,"owners_count":21186916,"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":[],"created_at":"2025-03-28T07:16:49.243Z","updated_at":"2025-04-14T18:51:59.638Z","avatar_url":"https://github.com/tylingsoft.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# markdown-it-chart\n\nChart.js plugin for markdown-it.\n\n\n## Installation\n\n```\nyarn install markdown-it-chart\n```\n\n\n## Usage\n\n```js\nimport markdownIt from 'markdown-it'\nimport markdownItChart from 'markdown-it-chart'\nconst mdi = markdownIt()\nmdi.use(markdownItChart)\nmdi.render(`\\`\\`\\`chart\n{\n  \"type\": \"pie\",\n  \"data\": {\n    \"labels\": [\n      \"Red\",\n      \"Blue\",\n      \"Yellow\"\n    ],\n    \"datasets\": [\n      {\n        \"data\": [\n          300,\n          50,\n          100\n        ],\n        \"backgroundColor\": [\n          \"#FF6384\",\n          \"#36A2EB\",\n          \"#FFCE56\"\n        ],\n        \"hoverBackgroundColor\": [\n          \"#FF6384\",\n          \"#36A2EB\",\n          \"#FFCE56\"\n        ]\n      }\n    ]\n  },\n  \"options\": {}\n}\n\\`\\`\\``)\n```\n\n\n## Development\n\n### Build\n\n```\nyarn build:watch\n```\n\n### Test\n\n```\nyarn test\n```\n\n### Distribution\n\n```\nyarn release \u0026\u0026 npm publish\n```\n\n\n## Todo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylingsoft%2Fmarkdown-it-chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylingsoft%2Fmarkdown-it-chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylingsoft%2Fmarkdown-it-chart/lists"}