{"id":16595710,"url":"https://github.com/1000ch/x-marked","last_synced_at":"2025-03-21T13:32:06.737Z","repository":{"id":36932649,"uuid":"231280321","full_name":"1000ch/x-marked","owner":"1000ch","description":"Web Components which renders markdown using marked.","archived":false,"fork":false,"pushed_at":"2024-09-01T08:35:02.000Z","size":583,"stargazers_count":7,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T16:05:41.669Z","etag":null,"topics":["markdown","marked","web-components"],"latest_commit_sha":null,"homepage":"https://1000ch.github.io/x-marked/","language":"TypeScript","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/1000ch.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},"funding":{"github":"1000ch"}},"created_at":"2020-01-02T00:29:51.000Z","updated_at":"2024-12-31T14:14:05.000Z","dependencies_parsed_at":"2024-10-28T10:28:08.091Z","dependency_job_id":"996056a7-8bbb-479b-b24c-89846879bdf7","html_url":"https://github.com/1000ch/x-marked","commit_stats":{"total_commits":55,"total_committers":3,"mean_commits":"18.333333333333332","dds":"0.38181818181818183","last_synced_commit":"8a70a42546f0fd2736fe2e7f920d7002a941bfd3"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1000ch%2Fx-marked","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1000ch%2Fx-marked/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1000ch%2Fx-marked/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1000ch%2Fx-marked/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1000ch","download_url":"https://codeload.github.com/1000ch/x-marked/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244806139,"owners_count":20513387,"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":["markdown","marked","web-components"],"created_at":"2024-10-11T23:51:20.645Z","updated_at":"2025-03-21T13:32:06.471Z","avatar_url":"https://github.com/1000ch.png","language":"TypeScript","funding_links":["https://github.com/sponsors/1000ch"],"categories":[],"sub_categories":[],"readme":"# x-marked [![test](https://github.com/1000ch/x-marked/actions/workflows/test.yml/badge.svg)](https://github.com/1000ch/x-marked/actions/workflows/test.yml)\n\n\u003e Web Components which renders markdown using [marked](https://github.com/markedjs/marked).\n\n## Install\n\nUsing [npm](https://www.npmjs.org/package/x-marked):\n\n```sh\n$ npm install x-marked\n```\n\n## Usage\n\nImport `XMarked` and register it as a custom element.\n\n```html\n\u003cscript type=\"module\"\u003e\nimport XMarked from 'https://unpkg.com/x-marked';\n\ncustomElements.define('x-marked', XMarked);\n\u003c/script\u003e\n```\n\nPut `\u003cx-marked\u003e`.\n\n```html\n\u003cx-marked\u003e\n# x-marked\n\nWeb Components which renders markdown using [marked](https://github.com/markedjs/marked).\n\u003c/x-marked\u003e\n```\n\n## API\n\n### `highlight` attribute/property\n\nBoolean attribute/property to enable highlight.\n\n### `highlight-theme`/`highlightTheme` attribute/property\n\nString attribute/property to specify the theme of syntax highlight. you can specify it by choosing from [PrismJS/prism-themes](https://github.com/PrismJS/prism-themes/tree/master/themes) without `.css` extension.\n\n## License\n\n[MIT](https://1000ch.mit-license.org) © [Shogo Sensui](https://github.com/1000ch)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1000ch%2Fx-marked","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1000ch%2Fx-marked","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1000ch%2Fx-marked/lists"}