{"id":20511619,"url":"https://github.com/10sr/dmd","last_synced_at":"2026-04-20T01:05:17.693Z","repository":{"id":10675690,"uuid":"12912587","full_name":"10sr/dmd","owner":"10sr","description":"Dynamic MarkDown loader","archived":false,"fork":false,"pushed_at":"2015-06-04T07:44:50.000Z","size":160,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"gh-pages","last_synced_at":"2025-03-05T22:44:35.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://10sr.github.io/dmd/samples/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/10sr.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":"2013-09-18T02:50:56.000Z","updated_at":"2023-11-20T16:57:50.000Z","dependencies_parsed_at":"2022-09-22T21:11:18.363Z","dependency_job_id":null,"html_url":"https://github.com/10sr/dmd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/10sr/dmd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fdmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fdmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fdmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fdmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/10sr","download_url":"https://codeload.github.com/10sr/dmd/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/10sr%2Fdmd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32028550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"ssl_error","status_checked_at":"2026-04-20T00:17:31.068Z","response_time":55,"last_error":"SSL_read: 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":[],"created_at":"2024-11-15T20:36:36.650Z","updated_at":"2026-04-20T01:05:17.668Z","avatar_url":"https://github.com/10sr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Dynamic MarkDown loader (dmd.js)\n================================\n\nDynamically convert maridown contents into html and show.\nYou no longer have to convert markdown contents into html sources manually!\n\nThis module depends on `marked.js`.\n\n\n\nUsage\n-----\n\nFirst, load `dmd.js` and `marked.js` in your html.\n\n`dmd.js` uses two tags: `div#dmd-content` and `ul#dmd-menu`.\n\nTag `div#dmd-content` is mandatory. This tag has as children some tags who\nhave a class `dmd-page`. When these tags are `a` tags, referenced pages are\ndownloaded when required. Otherwise, the contents of these tags (`innerHTML`)\nare saved and converted when loaded.\n\n`ul#dmd-menu` is optional. When this tag exists, `dmd.js` adds links to load\npages defined in `dmd-content`.\n\nAfter loading `dmd-pages` in `dmd-content`, all contents under `dmd-content` are\nremoved.\n\nPages defined by `dmd-pages` can be accessed with hashes, and titles defined the\ntags are used for name. For example, when a page like\n`\u003ca href=\"a.md\" title=\"a page\" class=\"dmd-page\"\u003eREADME\u003c/a\u003e`\nis defined, this content can be accessed via a url like `index.html#a%20page`.\n\n\nLicense\n-------\n\nThis software is unlicensed. See `LICENSE` for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F10sr%2Fdmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F10sr%2Fdmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F10sr%2Fdmd/lists"}