{"id":18537563,"url":"https://github.com/eta-dev/highlightjs-eta","last_synced_at":"2025-05-15T01:34:32.593Z","repository":{"id":57264162,"uuid":"298071362","full_name":"eta-dev/highlightjs-eta","owner":"eta-dev","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-23T19:35:19.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T19:06:01.232Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eta-dev.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}},"created_at":"2020-09-23T19:18:08.000Z","updated_at":"2020-09-23T19:35:22.000Z","dependencies_parsed_at":"2022-08-25T02:51:58.685Z","dependency_job_id":null,"html_url":"https://github.com/eta-dev/highlightjs-eta","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eta-dev%2Fhighlightjs-eta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eta-dev%2Fhighlightjs-eta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eta-dev%2Fhighlightjs-eta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eta-dev%2Fhighlightjs-eta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eta-dev","download_url":"https://codeload.github.com/eta-dev/highlightjs-eta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254256693,"owners_count":22040336,"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-11-06T19:38:50.538Z","updated_at":"2025-05-15T01:34:32.576Z","avatar_url":"https://github.com/eta-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# highlights-eta\n\nAdd syntax highlighting to the [Eta template engine](https://eta.js.org) (EJS will probably work too)\n\n## Usage\n\n### Browser\n\nLoad the module after Highlight.js\n\n```html\n\u003cscript type=\"text/javascript\" src=\"/path/to/highlight.min.js\"\u003e\u003c/script\u003e\n\u003cscript\n  type=\"text/javascript\"\n  src=\"/path/to/highlightjs-eta/dist/eta.min.js\"\n\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n  hljs.initHighlightingOnLoad()\n\u003c/script\u003e\n```\n\nYou can also load from a CDN:\n\n```html\n\u003cscript\n  type=\"text/javascript\"\n  src=\"https://unpkg.com/highlightjs-eta/dist/eta.min.js\"\n\u003e\u003c/script\u003e\n```\n\n### Node\n\n```js\nvar hljs = require(\"highlightjs\")\nvar hljsRobotsTxt = require(\"highlightjs-robots-txt\")\n\nhljs.registerLanguage(\"robots-txt\", hljsRobotsTxt)\nhljs.initHighlightingOnLoad()\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feta-dev%2Fhighlightjs-eta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feta-dev%2Fhighlightjs-eta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feta-dev%2Fhighlightjs-eta/lists"}