react-native-markdown-display
react-native-markdown-display copied to clipboard
React Native 100% compatible CommonMark renderer
As shown on #202 `markdown-it` v10.x.x includes certain vulnerabilities which were fixed on subsequent versions. This updates the dependency to fix these vulnerabilities.
Footnotes seems to be supported but it doesn't seem to work. I'm rendering the following: ``` const content = ` # hello hello world [^1] [^1]: Book pg. 11 `;...
Hi, All of a suddent yesterday we are getting errors everywhere we are using this library. The error seems to be related to the dependency markdown-it. Any ideas on a...
Please update "markdown-it". See https://github.com/advisories/GHSA-6vfc-qv3f-vr6c
Given the following:  I would expect all text to centre align. However, in my Markdown editor, adding this:  Results in the component rendering this:  The second paragraph...
Styling body/elements does not seem to work to enable selection. Is this an issue with this library or do I need to passthrough touch events through scrollview?
``` import Markdown, { MarkdownIt } from 'react-native-markdown-display'; import markdownItKatex from '@iktakahiro/markdown-it-katex'; import wikilinks from '@gerhobbelt/markdown-it-wikilinks'; const markdownItInstance = MarkdownIt({typographer: true}) .use(wikilinks, {}) .use(markdownItKatex); const markdownstyles = { body: {...
Hi, This custom role does not work: ```javascript const rules = { u: (node, children, parent, styles) => ( {children} ), }; ``` I guess because it is HTML, but...
sample repro ``` const rules: RenderRules = { link: (node, children, parent, styles, onLinkPress) => ( openUrl(node.attributes.href, onLinkPress)} > {children} ), }; ``` this appears to be due to ```...