{"id":13630862,"url":"https://github.com/PlatziDev/react-markdown","last_synced_at":"2025-04-17T17:31:53.601Z","repository":{"id":57137188,"uuid":"78822672","full_name":"PlatziDev/react-markdown","owner":"PlatziDev","description":"React component to parse and render Platzi Flavored Markdown content","archived":false,"fork":false,"pushed_at":"2023-11-28T02:47:53.000Z","size":89,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T11:37:34.938Z","etag":null,"topics":["javascript","markdown","npm","parse","react","react-component"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/PlatziDev.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}},"created_at":"2017-01-13T06:37:43.000Z","updated_at":"2017-06-21T03:15:32.000Z","dependencies_parsed_at":"2024-01-17T00:42:11.095Z","dependency_job_id":"8053da69-73f1-4165-ae60-9ad948fbc3c7","html_url":"https://github.com/PlatziDev/react-markdown","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatziDev%2Freact-markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatziDev%2Freact-markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatziDev%2Freact-markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlatziDev%2Freact-markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlatziDev","download_url":"https://codeload.github.com/PlatziDev/react-markdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249360022,"owners_count":21257152,"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":["javascript","markdown","npm","parse","react","react-component"],"created_at":"2024-08-01T22:02:01.400Z","updated_at":"2025-04-17T17:31:53.261Z","avatar_url":"https://github.com/PlatziDev.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# react-markdown\nReact component to parse and render Platzi Flavored Markdown content\n\nThis component made use of [@platzi/markdown](https://github.com/PlatziDev/markdown) to render a content using markdown in a React application.\n\n## Usage\nInstall it with:\n\n```bash\nnpm i -S react @platzi/react-markdown\n```\n\nImport it with:\n\n```js\nimport React from 'react';\nimport Markdown from '@platzi/react-markdown';\n\nfunction App() {\n  return (\n    \u003cMarkdown\n      tagName=\"div\"\n      content=\"**Hello Platzi!**\"\n      parser={{\n        // @platzi/markdown options\n      }}\n    /\u003e\n  );\n}\n```\n\n- You cand send any native DOM attribute to the Markdown component.\n- The default `tagName` is a `div`.\n- The value of `parser` is an empty object by default.\n- The `content` is required.\n\n## Run test\nYou have 4 ways to run tests.\n\n- `npm t`: run the test once\n- `npm run test:fix`: run the test and fix the snapshots\n- `npm run test:watch`: run the test and keep watching changes\n- `npm run test:report`: run test and generate a coverage report\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPlatziDev%2Freact-markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPlatziDev%2Freact-markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPlatziDev%2Freact-markdown/lists"}