{"id":43270577,"url":"https://github.com/treeder/marked-down","last_synced_at":"2026-02-01T15:41:31.237Z","repository":{"id":218062755,"uuid":"745492629","full_name":"treeder/marked-down","owner":"treeder","description":"A simple markdown web component. Plug * Play","archived":false,"fork":false,"pushed_at":"2025-05-28T00:22:58.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-28T00:29:14.947Z","etag":null,"topics":["javascript","markdown","web-components"],"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/treeder.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-19T13:04:40.000Z","updated_at":"2025-05-28T00:23:01.000Z","dependencies_parsed_at":"2024-04-29T02:30:52.187Z","dependency_job_id":"f9c8fdb6-f7b5-4f07-9650-6f67a454d54a","html_url":"https://github.com/treeder/marked-down","commit_stats":null,"previous_names":["treeder/marked-down"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/treeder/marked-down","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeder%2Fmarked-down","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeder%2Fmarked-down/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeder%2Fmarked-down/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeder%2Fmarked-down/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/treeder","download_url":"https://codeload.github.com/treeder/marked-down/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treeder%2Fmarked-down/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28981455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T15:35:50.179Z","status":"ssl_error","status_checked_at":"2026-02-01T15:35:38.075Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["javascript","markdown","web-components"],"created_at":"2026-02-01T15:41:31.100Z","updated_at":"2026-02-01T15:41:31.232Z","avatar_url":"https://github.com/treeder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Marked Down - a simple to use markdown web component\n\nAn ESM ready, drop in anywhere web component. This uses [marked](https://marked.js.org/) behind the scenes.\n\n## Demo\n\n[View demo](https://treeder.github.io/marked-down/)\n\n## Quickstart\n\n### Install with npm\n\n```sh\nnpm install treeder/marked-down\n```\n\n### To use from CDN\n\n#### Add Lit to importmap\n\nThis uses [Lit](https://lit.dev), so first [add Lit to your importmap](https://thingster.app/things/qT_iAr9PuPK2FVNJCxANY). \n\n#### Import marked-down\n\nThen import marked-down on the pages where you will use it:\n\n```html\n\u003cscript type=\"module\"\u003e\nimport 'https://cdn.jsdelivr.net/gh/treeder/marked-down@1/marked-down.js'\n\u003c/script\u003e\n```\n\n### Usage\n\nThe easiest way is to use the web component.\n\n```html\n\u003cscript type=\"module\"\u003e\nimport 'https://cdn.jsdelivr.net/gh/treeder/marked-down@1/marked-down.js'\n\u003c/script\u003e\n\n\u003cmarked-down\u003e\n## Marked Down is Cool!\n\nIsn't it though? Why is it cool?\n\n* It's easy\n* It's fast\n* It's simple\n* It uses ESM modules\n\u003c/marked-down\u003e\n```\n\nView code for the demo [here](/demo/index.html).\n\n#### Adding marked-down to importmap\n\nYou can also add marked-down to your importmap and use it like this:\n\n```html\n\u003cscript type=\"importmap\"\u003e\n  {\n    \"imports\": {\n      LIT IMPORTS HERE (see above)\n      \"marked-down\": \"https://cdn.jsdelivr.net/gh/treeder/marked-down@1/marked-down.js\"\n    }\n  }\n\u003c/script\u003e\n```\n\nThen import on pages like this:\n\n```html\n\u003cscript type=\"module\"\u003e\nimport 'marked-down'\n\u003c/script\u003e\n```\n\nThe rest is the same.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreeder%2Fmarked-down","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreeder%2Fmarked-down","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreeder%2Fmarked-down/lists"}