{"id":21009012,"url":"https://github.com/avin/react-asciidoc","last_synced_at":"2025-06-11T19:06:11.239Z","repository":{"id":86507155,"uuid":"158239703","full_name":"avin/react-asciidoc","owner":"avin","description":"React Asciidoctor wrapper","archived":false,"fork":false,"pushed_at":"2018-11-20T09:31:12.000Z","size":1035,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-15T02:36:57.057Z","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/avin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-11-19T14:44:27.000Z","updated_at":"2022-11-27T07:23:06.000Z","dependencies_parsed_at":"2023-03-31T16:06:17.671Z","dependency_job_id":null,"html_url":"https://github.com/avin/react-asciidoc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Freact-asciidoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Freact-asciidoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Freact-asciidoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Freact-asciidoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avin","download_url":"https://codeload.github.com/avin/react-asciidoc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":256992953,"owners_count":22473526,"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-19T09:15:10.862Z","updated_at":"2025-06-11T19:06:11.234Z","avatar_url":"https://github.com/avin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-asciidoc\n\n\u003e React wrapper around Asciidoctor.js\n\n[![NPM registry](https://img.shields.io/npm/v/react-asciidoc.svg?style=for-the-badge)](https://yarnpkg.com/en/package/react-asciidoc) [![NPM license](https://img.shields.io/badge/license-mit-red.svg?style=for-the-badge)](LICENSE)\n\n## Demo\n\nHere is an [examples page](https://avin.github.io/react-asciidoc)\n\n## Install\n\n```bash\n# Yarn\nyarn add react-asciidoc\n\n# NPM\nnpm install --save react-asciidoc\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport Asciidoc from 'react-asciidoc';\nimport 'react-asciidoc/style.css'; // base Asciidoc style\n\nconst DemoComponent = () =\u003e \u003cAsciidoc\u003e*Asciidoc* content here...\u003c/Asciidoc\u003e;\n```\n\n## Styling\n\nYou can use custom CSS. More info [here...](https://github.com/asciidoctor/asciidoctor-stylesheet-factory)\n\n## API\n\n#### Props\n\n| Property     | Type   | Required? | Description                                                                                                                                                       |\n| :----------- | :----- | :-------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| children     | String |     ✓     | Asciidoc content as string                                                                                                                                        |\n| style        | Object |           | Optional inline style to attach to outermost element.                                                                                                             |\n| className    | String |           | Optional CSS className to attach to outermost element.                                                                                                            |\n| outerTagName | string |           | Tag name passed to document.createElement to create the outer container element. This is an advanced property; in most cases, the default (\"div\") should be used. |\n\n## License\n\nMIT © [avin](https://github.com/avin)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favin%2Freact-asciidoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favin%2Freact-asciidoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favin%2Freact-asciidoc/lists"}