From 91b8b84d38dab5da173b7a633f5853b8f88f3a39 Mon Sep 17 00:00:00 2001 From: waiscodes <58951863+waiscodes@users.noreply.github.com> Date: Wed, 27 Mar 2024 13:08:27 -0600 Subject: [PATCH 1/2] Update react-native-markdown-renderer library react-native-markdown-renderer is no longer being updated. It has stopped supporting React 17 or above. Updated the library to use a fork of react-markdown-renderer that is still being updated and supports the latest version of React. --- docs/pages/guides/editing-richtext.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/guides/editing-richtext.mdx b/docs/pages/guides/editing-richtext.mdx index b0b31d4e81154..dbcf886e69ba8 100644 --- a/docs/pages/guides/editing-richtext.mdx +++ b/docs/pages/guides/editing-richtext.mdx @@ -13,7 +13,7 @@ There’s currently no default solution for that in the React Native ecosystem. There are a lot of good options to display rich text: -- For markdown content, you can use a markdown renderer such as [`react-native-markdown-renderer`](https://www.npmjs.com/package/react-native-markdown-renderer) or another. +- For markdown content, you can use a markdown renderer such as [`react-native-markdown-display`](https://github.com/jonasmerlin/react-native-markdown-display) or another. - For HTML content, you can use [`@expo/html-elements`](https://www.npmjs.com/package/@expo/html-elements) or a webview ([`react-native-webview`](/versions/latest/sdk/webview/)). From c2b89f15d2ef14fec3a1e13d9b596281fb0107f6 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Wed, 27 Mar 2024 15:21:58 -0700 Subject: [PATCH 2/2] Apply suggestions from code review --- docs/pages/guides/editing-richtext.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/guides/editing-richtext.mdx b/docs/pages/guides/editing-richtext.mdx index dbcf886e69ba8..33b63480427a2 100644 --- a/docs/pages/guides/editing-richtext.mdx +++ b/docs/pages/guides/editing-richtext.mdx @@ -13,7 +13,7 @@ There’s currently no default solution for that in the React Native ecosystem. There are a lot of good options to display rich text: -- For markdown content, you can use a markdown renderer such as [`react-native-markdown-display`](https://github.com/jonasmerlin/react-native-markdown-display) or another. +- For markdown content, you can use a markdown renderer such as [`react-native-markdown-display`](https://www.npmjs.com/package/react-native-markdown-display) or another. - For HTML content, you can use [`@expo/html-elements`](https://www.npmjs.com/package/@expo/html-elements) or a webview ([`react-native-webview`](/versions/latest/sdk/webview/)).