{"id":18722135,"url":"https://github.com/muetze42/nova-prism-js","last_synced_at":"2026-03-16T12:33:59.499Z","repository":{"id":64842482,"uuid":"578780276","full_name":"Muetze42/nova-prism-js","owner":"Muetze42","description":"A Nova detail field with Syntax Highlighter via Prism.js. Usable with Markdown or HTML.","archived":false,"fork":false,"pushed_at":"2023-02-21T17:34:31.000Z","size":381,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T19:45:22.883Z","etag":null,"topics":["laravel","laravel-nova","prismjs"],"latest_commit_sha":null,"homepage":"https://novapackages.com/packages/norman-huth/nova-prism-js","language":"PHP","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/Muetze42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://huth.it/coffee"]}},"created_at":"2022-12-15T21:37:11.000Z","updated_at":"2024-08-20T17:45:21.000Z","dependencies_parsed_at":"2024-11-07T13:42:35.774Z","dependency_job_id":"858454f7-dec0-4694-8097-f971a94d6fa3","html_url":"https://github.com/Muetze42/nova-prism-js","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":"0.16666666666666663","last_synced_commit":"31adb0a89c8699dab8ff7704708899bc2abeab38"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Muetze42/nova-prism-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-prism-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-prism-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-prism-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-prism-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Muetze42","download_url":"https://codeload.github.com/Muetze42/nova-prism-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muetze42%2Fnova-prism-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281745924,"owners_count":26554474,"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","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"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":["laravel","laravel-nova","prismjs"],"created_at":"2024-11-07T13:40:02.338Z","updated_at":"2025-10-30T04:37:47.043Z","avatar_url":"https://github.com/Muetze42.png","language":"PHP","funding_links":["https://huth.it/coffee"],"categories":[],"sub_categories":[],"readme":"# Nova Prism.js\n\nA Nova detail field with Syntax Highlighter via [Prism.js](https://prismjs.com/). Usable with Markdown or HTML.\n\n[Preview](https://knowledge-base.huth.it/resources/articles/1)\n\n## Installation\n\n```shell\ncomposer require norman-huth/nova-prism-js\n```\n\n## Usage\n\n```php\n\nuse NormanHuth\\NovaPrismJs\\PrismJs;\n\n//..\n    public function fields(NovaRequest $request): array\n    {\n        return [\n            //..\n              PrismJs::make(__('Content'), 'content'),\n            //..\n        ]\n    }\n\n```\n\n## Options\n\n### Change Theme\n\nSet the Prism theme for light and dark mode.  \n* Theme from [prismjs.com](https://prismjs.com/): `default`, `coy`, `dark`, `funky`, `okaidia`, `solarizedlight`, `tomorrow`, `twilight`\n* Theme from [PrismJS/prism-themes](https://github.com/PrismJS/prism-themes): `a11y-dark`, `atom-dark`, `base16-ateliersulphurpool-light`, `cb`, `coldark-cold`, `coldark-dark`, `coy-without-shadows`, `darcula`, `dracula`, `duotone-dark`, `duotone-earth`, `duotone-forest`, `duotone-light`, `duotone-sea`, `duotone-space`, `ghcolors`, `gruvbox-dark`, `gruvbox-light`, `holi-theme`, `hopscotch`, `lucario`, `material-dark`, `material-light`, `material-oceanic`, `night-owl`, `nord`, `one-dark`, `one-light`, `pojoaque`, `shades-of-purple`, `solarized-dark-atom`, `synthwave84`, `vs`, `vsc-dark-plus`, `xonokai`, `z-touch`\n```php\nPrismJs::make(__('Content'), 'content')\n    -\u003esetTheme('tomorrow')\n    -\u003esetDarkTheme('twilight'),\n```\n\n### Full Width\n\n```php\nPrismJs::make(__('Content'), 'content')-\u003efullWidth(),\n```\n\n### Use HTML instead of Markdown\n\n```php\nPrismJs::make(__('Content'), 'content')-\u003edisableMarkdown(),\n```\n\n---\n[![More Laravel Nova Packages](https://raw.githubusercontent.com/Muetze42/asset-repo/main/svg/more-laravel-nova-packages.svg)](https://huth.it/nova-packages)\n\n[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/)\n\n[![Woman. Life. Freedom.](https://raw.githubusercontent.com/Muetze42/Muetze42/2033b219c6cce0cb656c34da5246434c27919bcd/files/iran-banner-big.svg)](https://linktr.ee/CurrentPetitionsFreeIran)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuetze42%2Fnova-prism-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuetze42%2Fnova-prism-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuetze42%2Fnova-prism-js/lists"}