{"id":20863362,"url":"https://github.com/agregoreweb/api-render-markdown","last_synced_at":"2026-06-22T08:31:29.191Z","repository":{"id":56326120,"uuid":"308035018","full_name":"AgregoreWeb/api-render-markdown","owner":"AgregoreWeb","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-16T12:43:57.000Z","size":908,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-12T14:49:39.282Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AgregoreWeb.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":"2020-10-28T14:02:57.000Z","updated_at":"2020-11-16T12:44:00.000Z","dependencies_parsed_at":"2022-08-15T16:40:43.921Z","dependency_job_id":null,"html_url":"https://github.com/AgregoreWeb/api-render-markdown","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/AgregoreWeb/api-render-markdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgregoreWeb%2Fapi-render-markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgregoreWeb%2Fapi-render-markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgregoreWeb%2Fapi-render-markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgregoreWeb%2Fapi-render-markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AgregoreWeb","download_url":"https://codeload.github.com/AgregoreWeb/api-render-markdown/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgregoreWeb%2Fapi-render-markdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34641636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-18T05:28:43.724Z","updated_at":"2026-06-22T08:31:29.167Z","avatar_url":"https://github.com/AgregoreWeb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# api-render-markdown\n\nAPI for rendering markdown, made for use in Agregore\n\n## Usage\n\nThis API is designed for use in vanilla javascript modules.\n\nFor imports you will need two things:  \nKey: `bfa59937d1c74437f015096ab07ef04c30c051ad5a9d4bdf9d01abb19ca97f1c`\n\n\u003e Note: This is a temporary drive and is due to change. Currently this is keyed by @KyGost\n\nVersion: `962`\n\n\u003e Note: This may be out of date and is also due to change.\n\n### Importing main API\n\nThis includes highlighting and commonmark compliant markdown rendering. Uses [markdown-it](https://github.com/markdown-it/markdown-it).\n\n```javascript\nimport Markdown from \"hyper://\u003cADDRESS\u003e+\u003cVERSION\u003e/index.js\";\n```\n\n### Importing plugins\n\n```javascript\nimport \u003cPLUGIN\u003e from 'hyper://\u003cADDRESS\u003e+\u003cVERSION\u003e/plugins/\u003cPLUGIN\u003e.js'\nMarkdown.use(...\u003cPLUGIN\u003e)\n```\n\n## Plugins\n\nThis API has a few plugins to achieve a few objectives.\n\n### Hider\n\n**Name**: `hider`  \n**Achieves**: Hiding spoilers/warnings  \n**Uses**: [`markdown-it-container`](https://github.com/markdown-it/markdown-it-container)  \n**Markdown usage**:\n\n```markdown\n:::\nCollapsed words\n:::\n\n::: Spoiler: The secrets lie within!\nCollapsed words\n:::\n```\n\n### IFrame\n\n**Name**: `iframe`  \n**Achieves**: Embedding iframes  \n**Uses**: [`markdown-it-iframe`](https://github.com/rjriel/markdown-it-iframe)  \n**Markdown usage**:\n\n```markdown\n/i/\u003cURL\u003e\n```\n\n**Notes**: Will render at 100% width\n\n### Todo\n\n**Name**: `Todo`  \n**Achieves**: Adds Github-like todo lists\n**Uses**: [`markdown-it-todo`](https://github.com/dexfire/markdown-it-todo)  \n**Markdown usage**:\n\n```markdown\n- [ ] Unchecked\n- [x] Checked\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagregoreweb%2Fapi-render-markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagregoreweb%2Fapi-render-markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagregoreweb%2Fapi-render-markdown/lists"}