{"id":16751754,"url":"https://github.com/zcuric/vscode-discourse-plugin","last_synced_at":"2025-09-23T08:05:33.923Z","repository":{"id":98648946,"uuid":"252660293","full_name":"zcuric/vscode-discourse-plugin","owner":"zcuric","description":"VSCode extension for discourse plugin syntax highlighting","archived":false,"fork":false,"pushed_at":"2020-04-07T13:46:57.000Z","size":21,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T13:37:16.245Z","etag":null,"topics":["discourse","discourse-theme","vscode","vscode-extension","vscode-language"],"latest_commit_sha":null,"homepage":"","language":null,"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/zcuric.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-04-03T07:21:56.000Z","updated_at":"2023-11-23T21:02:30.000Z","dependencies_parsed_at":"2023-04-11T04:36:40.227Z","dependency_job_id":null,"html_url":"https://github.com/zcuric/vscode-discourse-plugin","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/zcuric%2Fvscode-discourse-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcuric%2Fvscode-discourse-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcuric%2Fvscode-discourse-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcuric%2Fvscode-discourse-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zcuric","download_url":"https://codeload.github.com/zcuric/vscode-discourse-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248245102,"owners_count":21071413,"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":["discourse","discourse-theme","vscode","vscode-extension","vscode-language"],"created_at":"2024-10-13T02:44:48.645Z","updated_at":"2025-09-23T08:05:28.811Z","avatar_url":"https://github.com/zcuric.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# discourse-plugin-syntax-highlighting\n\n[![vs-marketplace\nversion](https://badgen.net/vs-marketplace/v/zcuric.vscode-discourse-plugin)](https://marketplace.visualstudio.com/items?itemName=zcuric.vscode-discourse-plugin)\n[![github license](https://badgen.net/github/license/zcuric/vscode-discourse-plugin)](https://github.com/zcuric/vscode-discourse-plugin/blob/master/LICENSE)\n\nSyntax highlighting support for HTML `\u003cscript\u003e` tags using `type=\"text/discourse-plugin\"` which is actually javascript.\n\nFor example\n\n```html\n\u003cscript type=\"text/discourse-plugin\"\u003e\n  const settings = Discourse.SiteSettings,\n    taggingEnabled = settings.tagging_enabled,\n    title = settings.title;\n\n  if (taggingEnabled) {\n    console.log(\"Yay! \"+title+\" has tagging enabled!\")\n  } else {\n    console.log(\"Ohh nooos! \"+title+\"Does not allow tagging.\")\n  }\n\u003c/script\u003e\n```\n\nMore on discourse theme plugin development [here](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcuric%2Fvscode-discourse-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzcuric%2Fvscode-discourse-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcuric%2Fvscode-discourse-plugin/lists"}