{"id":24746677,"url":"https://github.com/samuelmarks/angular-prism-dist","last_synced_at":"2026-04-20T09:02:04.188Z","repository":{"id":150265149,"uuid":"117052924","full_name":"SamuelMarks/angular-prism-dist","owner":"SamuelMarks","description":"Angular bindings for Prism.js","archived":false,"fork":false,"pushed_at":"2018-01-11T13:47:57.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T01:28:07.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/SamuelMarks.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-11T05:09:00.000Z","updated_at":"2018-01-11T05:09:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1a5a0ce-2a3f-4094-ba25-8ca0ab4957e0","html_url":"https://github.com/SamuelMarks/angular-prism-dist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SamuelMarks/angular-prism-dist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fangular-prism-dist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fangular-prism-dist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fangular-prism-dist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fangular-prism-dist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamuelMarks","download_url":"https://codeload.github.com/SamuelMarks/angular-prism-dist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fangular-prism-dist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32040353,"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":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":"2025-01-28T04:30:10.311Z","updated_at":"2026-04-20T09:02:04.168Z","avatar_url":"https://github.com/SamuelMarks.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"angular-prism\n=============\n\nAngular bindings for [Prism.js](http://prismjs.com).\n\nTested with Angular 5+.\n\n## Quick start\n\n    npm i --save https://api.github.com/repos/SamuelMarks/angular-prism-dist/tarball \n\nThen add it to the `import:` of your module:\n\n    import { CodeblockModule } from 'angular-prism';\n\nFinally use it in that package like so:\n\n    \u003cprism-codeblock lang=\"mathml\"\u003e\n      foooooooo\n    \u003c/prism-codeblock\u003e\n\nOften you'll need to escape characters, but it's still usable:\n\n```\n\u003cprism-codeblock lang=\"clike\" reduce_indent=2\u003e\n  #include {{ '\u003c' }}cstdio\u003e\n\n  int main(void) {{ '{' }}\n      puts(\"Hello World!\");\n  {{ '}' }}\n\u003c/prism-codeblock\u003e\n```\n\n## Development\nInstall Node.js and `@angular/cli`, then just use the regular `ng` commands. Also if you want to package it up, use:\n\n    npm run build-pkg\n\n## Open question\n\nHow do I allow the uses of my package to specify which plugins they want from Prism?\n\nOr do I include them all and the minifiers within webpack will minify what you don't use?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmarks%2Fangular-prism-dist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelmarks%2Fangular-prism-dist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmarks%2Fangular-prism-dist/lists"}