KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
react-asciidoc
★ 10
Open GitHub ↗
React Asciidoctor wrapper
Download README (.md)
Explore Similar Repositories
Turing-machine-simulator
:
Turing machine simulator using python
cordova-plugin-zxing
:
A plugin for Cordova using ZXing library from https://github.com/journeyapps/zxing-android-embedded
resource-manager
:
Workshop Hyperledger Global Forum 2018: Getting Started with Hyperledger Fabric using Golang ?
discord_token
:
Accepts email and password as command-line argument, returns token.
miaotuan
:
饿了么
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
react-asciidoc
?
Download (.md)
# react-asciidoc > React wrapper around Asciidoctor.js [](https://yarnpkg.com/en/package/react-asciidoc) [](https://raw.githubusercontent.com/avin/react-asciidoc/master/LICENSE) ## Demo Here is an [examples page](https://avin.github.io/react-asciidoc) ## Install ```bash # Yarn yarn add react-asciidoc # NPM npm install --save react-asciidoc ``` ## Usage ```js import React from 'react'; import Asciidoc from 'react-asciidoc'; import 'react-asciidoc/style.css'; // base Asciidoc style const DemoComponent = () => <Asciidoc>*Asciidoc* content here...</Asciidoc>; ``` ## Styling You can use custom CSS. More info [here...](https://github.com/asciidoctor/asciidoctor-stylesheet-factory) ## API #### Props | Property | Type | Required? | Description | | :----------- | :----- | :-------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------- | | children | String | ✓ | Asciidoc content as string | | style | Object | | Optional inline style to attach to outermost element. | | className | String | | Optional CSS className to attach to outermost element. | | 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. | ## License MIT © [avin](https://github.com/avin)