0.3.0 • Published 12 months ago

react-native-awesome-markdown v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

react-native-awesome-markdown

Installation

npm install react-native-awesome-markdown

Usage

import Markdown from 'react-native-awesome-markdown';

export default function App() {
  return (
    <View style={styles.container}>
      <Markdown text={TEST} />
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
  },
});

const TEST = `
# First level heading
## Heading of the second level
### Third level heading
#### Fourth level heading
##### Level 5 heading
###### Level 6 heading
plain text
**Thumbnail**
*Italic text*
***Bold italic text***
\`Code in a string\`
Link to [site](https://example.com)
`;

Example

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

0.3.0

12 months ago

0.2.1

1 year ago

0.2.0

1 year ago