{"id":33229786,"url":"https://github.com/ploomber/dash-react-syntax-highlighter","last_synced_at":"2026-01-18T08:27:41.170Z","repository":{"id":325430424,"uuid":"863186474","full_name":"ploomber/dash-react-syntax-highlighter","owner":"ploomber","description":"Syntax highlighting for code snippets in your Dash apps.","archived":false,"fork":false,"pushed_at":"2024-10-02T16:17:51.000Z","size":168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-21T11:02:56.600Z","etag":null,"topics":["dash-plotly"],"latest_commit_sha":null,"homepage":"https://ploomber.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ploomber.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-25T21:38:44.000Z","updated_at":"2025-04-06T02:38:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ploomber/dash-react-syntax-highlighter","commit_stats":null,"previous_names":["ploomber/dash-react-syntax-highlighter"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ploomber/dash-react-syntax-highlighter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ploomber%2Fdash-react-syntax-highlighter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ploomber%2Fdash-react-syntax-highlighter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ploomber%2Fdash-react-syntax-highlighter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ploomber%2Fdash-react-syntax-highlighter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ploomber","download_url":"https://codeload.github.com/ploomber/dash-react-syntax-highlighter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ploomber%2Fdash-react-syntax-highlighter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["dash-plotly"],"created_at":"2025-11-16T17:00:41.564Z","updated_at":"2026-01-18T08:27:41.162Z","avatar_url":"https://github.com/ploomber.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n    \u003ch1 align=\"center\"\u003e\u003cb\u003eDash react-syntax-highlighter\u003c/b\u003e\u003c/h1\u003e\n\t\u003cp align=\"center\"\u003e\n\t\tBeautiful syntax highlighting for your Dash apps.\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003cimg width=\"100\" height=\"100\" src=\"https://avatars.githubusercontent.com/u/60114551?s=200\u0026v=4\" alt=\"Ploomber Logo\"\u003e\n    \u003cbr /\u003e\n    \u003cb\u003e  Made by \u003ca href=\"https://ploomber.io/?utm_source=dash-react-syntax-highlighter\u0026utm_medium=github\"\u003ePloomber\u003c/a\u003e with ❤️\u003c/b\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ci\u003eDeploy your Dash application on \u003ca href=\"https://platform.ploomber.io/register?utm_source=dash-react-syntax-highlighter\u0026utm_medium=github\"\u003ePloomber.io\u003c/a\u003e for free.\u003c/i\u003e\n    \u003cbr /\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n\n\nhttps://github.com/user-attachments/assets/2e28e63b-5803-41fb-8253-faf35062e255\n\n\n\n## Installation\n\n```sh\npip install dash-react-syntax-highlighter\n```\n\n## Usage\n\n```python\nfrom dash import Dash, html\nimport dash_react_syntax_highlighter\n\napp = Dash(__name__)\n\nsample_code = \"\"\"\ndef greet(name):\n    return f\"Hello, {name}!\"\n\nprint(greet(\"World\"))\n\"\"\"\n\napp.layout = html.Div([\n    html.H1(\"Dash React Syntax Highlighter\"),\n    dash_react_syntax_highlighter.DashReactSyntaxHighlighter(\n        code=sample_code,\n        language=\"python\",\n        styleName=\"okaidia\"\n    )\n])\n\nif __name__ == \"__main__\":\n    app.run_server(debug=True)\n```\n\n## Run demo locally\n\n```sh\ncd demo\npip install -r requirements.txt\npython app.py\n```\n\nOpen: http://localhost:8050\n\n\n## Documentation\n\n\n## Setup\n\n```sh\nnpm install\npip install -r requirements.txt\npip install -r tests/requirements.txt\n```\n\n## Development\n\n```sh\nnpm run build\npython demo.py\n```\n\n\n## Release\n\n```sh\n# generate\nnpm run build\npython setup.py sdist bdist_wheel\nls dist\n\n# test artifact\npip install dash dist/dash_react_syntax_highlighter-0.0.1.tar.gz\npython demo/app.py\n\n# upload\npip install twine\ntwine upload dist/*\n\n# clean up\nrm -rf dist\n```\n","funding_links":[],"categories":["Component Libraries"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fploomber%2Fdash-react-syntax-highlighter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fploomber%2Fdash-react-syntax-highlighter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fploomber%2Fdash-react-syntax-highlighter/lists"}