{"id":18559684,"url":"https://github.com/cvette/neos-code-block","last_synced_at":"2025-04-10T02:30:49.517Z","repository":{"id":56960414,"uuid":"88371038","full_name":"cvette/neos-code-block","owner":"cvette","description":"A node type to add code blocks with syntax highlighting to your Neos CMS project.","archived":false,"fork":false,"pushed_at":"2018-04-27T18:57:09.000Z","size":21,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T15:11:20.934Z","etag":null,"topics":["highlighting","neoscms","nodetype"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cvette.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":"2017-04-15T19:57:36.000Z","updated_at":"2019-10-04T22:34:04.000Z","dependencies_parsed_at":"2022-08-21T09:20:41.854Z","dependency_job_id":null,"html_url":"https://github.com/cvette/neos-code-block","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvette%2Fneos-code-block","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvette%2Fneos-code-block/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvette%2Fneos-code-block/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvette%2Fneos-code-block/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvette","download_url":"https://codeload.github.com/cvette/neos-code-block/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144163,"owners_count":21054877,"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","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":["highlighting","neoscms","nodetype"],"created_at":"2024-11-06T22:00:19.066Z","updated_at":"2025-04-10T02:30:49.187Z","avatar_url":"https://github.com/cvette.png","language":"CSS","readme":"[![Latest Stable Version](https://poser.pugx.org/cvette/neos-code-block/v/stable)](https://packagist.org/packages/cvette/neos-code-block)\n[![Total Downloads](https://poser.pugx.org/cvette/neos-code-block/downloads)](https://packagist.org/packages/cvette/neos-code-block) \n[![License](https://poser.pugx.org/cvette/neos-code-block/license)](https://packagist.org/packages/cvette/neos-code-block)\n\n# Code block Neos plugin\nThis plugin adds a nodetype that allows you to display blocks of code with syntax highlighting for a wide range of languages. The highlighing is done on the server-side by using the [GeSHi](http://qbnz.com/highlighter/) library.\n\nYou can set the language, toggle line numbers, set the starting line number and highlight single lines via the property editor.\n\n## Installation\n\n`composer require cvette/neos-code-block`\n\n## Usage and custom styles\n\nThe Codeblock node type works out-of-the-box by inlining the necessary CSS. If you want to customize the styling you can disable the inline CSS by setting the `inlineCss` path of the `Vette.CodeBlock:Geshi` prototype to `false`:\n\n    prototype(Vette.CodeBlock:Geshi) {\n\t      inlineCss = false\n    }\n    \nExample CSS files can be found in `Resources/Public/Styles/`. Please refer to the [GeSHi documentation](http://qbnz.com/highlighter/geshi-doc.html#using-an-external-stylesheet) for more information.\n\n## License\n\nThe GNU General Public License Version 3 (GPLv3). Please see [LICENSE](LICENSE) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvette%2Fneos-code-block","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvette%2Fneos-code-block","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvette%2Fneos-code-block/lists"}