@mo3ta-dev/react-native-markdown-display
v0.2.4
Published
react-native-markdown-display with some changes
Downloads
7
Maintainers
Readme
mo3ta-markdown 
This project is a fork of react-native-markdown-display, created to address maintenance gaps and introduce improvements.
Installation
npm i mo3ta-markdownSee the package on npm.
New Features
Sample App
- Try out the library in the included sample app.
- The sample app will be updated with practical examples and tips.
Enhanced onLinkPress
- The
onLinkPresscallback now provides both the URL and the clicked text, enabling use cases like analytics for link clicks.
<Markdown
onLinkPress={(url, text) => {
// Handle link press
console.log('Link pressed:', url);
console.log('Link text:', text);
return false; // Adjust logic as needed
}}
>
{markdown}
</Markdown>Security and Linting Improvements
- Upgraded
markdown.itto address vulnerabilities. - Fixed lint issues and added ESLint checks for better pre-commit workflows.
