react-native-markdown-renderer
react-native-markdown-renderer copied to clipboard
React Native 100% compatible CommonMark renderer
The current implementation does not correctly parse alt text from an image, as the [markdown-it parser does not appear to support this out of the box](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_inline/image.js#L140). As taken from the...
Will close #71.
PR #79 is functional only in Debug mode. This one isn't pretty but I think I didn't break anything and it works in **both Debug and Release** modes.
This PR fixes broken heading styles with RN >= 0.57.4, see https://github.com/mientjan/react-native-markdown-renderer/issues/87.
Warnings for componentWillMount and componentWillReceiveProps
For links, the component should make the onPress() function to be a prop to be passed in from outside so that the linking behavior can be controlled, and can be...
Add mergeStyleSheets util to merge styles given to Markdown component with default styles. Currently, any new styles completely override the original styles
I tried running a basic example. Created copy variable in my class constructor, and tried rendering it using *Markdown* component. ``` this.copy = ` ### h1 Heading 8-) ## h2...
#### Description This PR fixes one or more vulnerable packages in the `npm` dependencies of this project. See the [Snyk test report](https://app.snyk.io/org/mientjan/test/github/f59e9844-febf-47a4-bb28-c0105f3a9738/master..snyk-fix-bf9b4c52beccadadd11b9e53ba234cb5) for more details. #### Snyk Project: [mientjan/react-native-markdown-renderer:package.json](https://app.snyk.io/org/mientjan/project/f59e9844-febf-47a4-bb28-c0105f3a9738) ####...
If the markdown is like this: ```md This is a very long 1st paragraph. This is a very long 2nd paragraph. This is a very long 3rd paragraph. ``` And...