{"id":15168403,"url":"https://github.com/rossonlinesolutions/react-markdown","last_synced_at":"2025-10-25T12:30:45.746Z","repository":{"id":249108068,"uuid":"828180404","full_name":"rossonlinesolutions/react-markdown","owner":"rossonlinesolutions","description":"A markdown render component for react.","archived":false,"fork":false,"pushed_at":"2024-08-23T18:53:30.000Z","size":1031,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-31T07:11:13.063Z","etag":null,"topics":["gfm","markdown","react","react-component-library","react-markdown","yarn"],"latest_commit_sha":null,"homepage":"https://ross-agentur.de","language":"CSS","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/rossonlinesolutions.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-07-13T11:03:07.000Z","updated_at":"2024-08-23T18:53:33.000Z","dependencies_parsed_at":"2024-09-14T00:23:57.380Z","dependency_job_id":null,"html_url":"https://github.com/rossonlinesolutions/react-markdown","commit_stats":{"total_commits":27,"total_committers":3,"mean_commits":9.0,"dds":"0.18518518518518523","last_synced_commit":"b31ee3b01b1d6ef019a80ecb82927bc6d0436a08"},"previous_names":["rossonlinesolutions/react-markdown"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossonlinesolutions%2Freact-markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossonlinesolutions%2Freact-markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossonlinesolutions%2Freact-markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossonlinesolutions%2Freact-markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rossonlinesolutions","download_url":"https://codeload.github.com/rossonlinesolutions/react-markdown/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238137884,"owners_count":19422721,"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":["gfm","markdown","react","react-component-library","react-markdown","yarn"],"created_at":"2024-09-27T06:02:21.753Z","updated_at":"2025-10-25T12:30:45.174Z","avatar_url":"https://github.com/rossonlinesolutions.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @rossonlinesolutions/react-markdown\n\n\u003e A markdown render component for react.\n\n## Build and Run\n\nTo build this package, just run:\n\n```sh\n# Installs all dependencies\nyarn install\n\n# Builds the library\nyarn build\n```\n\n### Run the demo application\n\nTo run the demo application, follow the instructions in the [example README](./example/README.md).\n\n## Install\n\n### npm\n\nTo install this package via npm, create a `.npmrc` file at the root of your npm project\nand add the following line to it:\n\n```\n@rossonlinesolutions:registry=https://npm.pkg.github.com/\n```\n\nThen install this package by running:\n\n```sh\nnpm install --save @rossonlinesolutions/react-markdown\n```\n\n### yarn\n\nTo install this package via yarn, create a `.yarnrc` file at the root of your yarn project\nand add the following line to it:\n\n```\n\"@rossonlinesolutions:registry\" \"https://npm.pkg.github.com/\"\n```\n\nThen install this package by running:\n\n```sh\nyarn add @rossonlinesolutions/react-markdown\n```\n\n## Usage\n\n```tsx\nimport React from 'react';\n\n// import the Markdown view component\nimport MarkdownView from '@rossonlinesolutions/react-markdown';\n\n// import the component stylesheet\nimport '@rossonlinesolutions/react-markdown/dist/index.css';\n\n// An example Markdown string\nconst markdown_str = `# Hello\n## Hello2\n\n- [X] check\n- [ ] no check\n\n**bolt** *italic* \\`inline code\\`\n\n\\`\\`\\`js\n\nfunction main() {\n  console.log('Hello! This here is a very long string that is here to test the scrolling capabilities of the Markdown component. So just a test!!!')\n}\n\n\\`\\`\\`\n\n\n\u003cp\u003eRAW\u003c/p\u003e`;\n\n// The component function\nfunction App() {\n  // Set the markdown string into the src property\n  return (\u003cdiv\u003e\u003cMarkdownView src={markdown_str}/\u003e\u003c/div\u003e);\n}\n\nexport default App;\n```\n\n## License\n\nMIT © [Ross Online Solutions](https://github.com/rossonlinesolutions)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossonlinesolutions%2Freact-markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frossonlinesolutions%2Freact-markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossonlinesolutions%2Freact-markdown/lists"}