{"id":16922782,"url":"https://github.com/highlightjs/highlightjs-bend","last_synced_at":"2025-11-10T14:30:24.683Z","repository":{"id":246856112,"uuid":"821628782","full_name":"highlightjs/highlightjs-bend","owner":"highlightjs","description":"Highlight.js grammar for Bend","archived":false,"fork":false,"pushed_at":"2024-06-29T08:58:19.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-28T10:47:46.870Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/highlightjs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-29T02:13:22.000Z","updated_at":"2024-07-01T01:42:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb36f9b7-ff92-45d1-b521-66573d1758e2","html_url":"https://github.com/highlightjs/highlightjs-bend","commit_stats":null,"previous_names":["highlightjs/highlightjs-bend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-bend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-bend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-bend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/highlightjs%2Fhighlightjs-bend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/highlightjs","download_url":"https://codeload.github.com/highlightjs/highlightjs-bend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239581790,"owners_count":19662958,"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":[],"created_at":"2024-10-13T19:56:45.724Z","updated_at":"2025-11-10T14:30:24.280Z","avatar_url":"https://github.com/highlightjs.png","language":"JavaScript","funding_links":[],"categories":["Grammar"],"sub_categories":[],"readme":"# Bend - a language grammar for [bend programming language](https://higherorderco.com/)\n\n\nBend is a high-level language for native multi-threading created by [The higher order company](https://higherorderco.com/).\n\n## Usage\n\nSimply include the Highlight.js library in your webpage or Node app, then load this module.\n\n### Static website or simple usage\n\nSimply load the module after loading Highlight.js. You'll use the minified version found in the `dist` directory. This module is just a CDN build of the language, so it will register itself as the Javascript is loaded.\n\n```html\n\u003cscript type=\"text/javascript\" src=\"/path/to/highlight.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" charset=\"UTF-8\"\n  src=\"/path/to/highlightjs-bend/dist/bend.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n  hljs.highlightAll();\n\u003c/script\u003e\n```\n\n### Using directly from the UNPKG CDN\n\n```html\n\u003cscript type=\"text/javascript\"\n  src=\"https://unpkg.com/highlightjs-bend/dist/bend.min.js\"\u003e\u003c/script\u003e\n```\n\n- More info: \u003chttps://unpkg.com\u003e\n\n### With Node or another build system\n\nIf you're using Node / Webpack / Rollup / Browserify, etc, simply require the language module, then register it with Highlight.js.\n\n```javascript\nvar hljs = require('highlightjs');\nvar hljsBend = require('highlightjs-bend');\n\nhljs.registerLanguage(\"bend\", hljsBend);\nhljs.highlightAll();\n```\n\n### React\n\nYou need to import both Highlight.js and third-party language like Bend:\n\n```js\nimport React, {Component} from 'react'\nimport 'highlight.js/scss/darcula.scss' # your favourite theme\nimport bend from './bend'\nimport hljs from 'highlight.js'\nhljs.registerLanguage('bend', bend);\n\nclass Highlighter extends Component\n{\n  constructor(props)\n  {\n    super(props);\n    hljs.highlightAll();\n  }\n\n  render()\n  {\n    let {children} = this.props;\n    return\n    {\n      \u003cpre ref={(node) =\u003e this.node = node}\u003e\n        \u003ccode className=\"bend\"\u003e\n          {children}\n        \u003c/code\u003e\n      \u003c/pre\u003e\n    }\n  }\n}\n\nexport default Highlighter;\n```\n\n## License\n\nHighlight.js is released under the MIT 1.0 License. See [LICENSE][1] file\nfor details.\n\n### Author\n\nRohan Vashisht \u003clearncodingly@gmail.com\u003e [https://github.com/rohanvashisht1234](https://github.com/rohanvashisht1234)\n\n### Maintainer\n\nRohan Vashisht \u003clearncodingly@gmail.com\u003e [https://github.com/rohanvashisht1234](https://github.com/rohanvashisht1234)\n\n## Links\n\n- The official site for the Highlight.js library is \u003chttps://highlightjs.org/\u003e.\n- The Highlight.js GitHub project: \u003chttps://github.com/highlightjs/highlight.js\u003e\n\n[1]: https://github.com/highlightjs/highlightjs-bend/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-bend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhighlightjs%2Fhighlightjs-bend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhighlightjs%2Fhighlightjs-bend/lists"}