Skip to content

exzos28/react-native-awesome-markdown

Repository files navigation

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

example

Contributing

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

License

MIT

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published