@@ -24,7 +24,7 @@ npm install -S react-native-markdown-display
2424import React from ' react' ;
2525import { SafeAreaView , ScrollView , StatusBar } from ' react-native' ;
2626
27- import Markdown from ' react-native-markdown-display' ;
27+ import Markdownfrom ' @ronradtke/ react-native-markdown-display' ;
2828
2929const copy = ` # h1 Heading 8-)
3030
@@ -462,7 +462,7 @@ Identify the new components and integrate the plugin with a rendered component.
462462import React from ' react' ;
463463import { SafeAreaView , ScrollView , StatusBar } from ' react-native' ;
464464
465- import Markdown , { MarkdownIt } from ' react-native-markdown-display' ;
465+ import Markdown , { MarkdownIt }from ' @ronradtke/ react-native-markdown-display' ;
466466import blockEmbedPlugin from ' markdown-it-block-embed' ;
467467
468468const markdownItInstance =
@@ -528,7 +528,7 @@ We need to create the **render rules** and **styles** to handle this new **'vide
528528import React from ' react' ;
529529import { SafeAreaView , ScrollView , StatusBar } from ' react-native' ;
530530
531- import Markdown , { MarkdownIt } from ' react-native-markdown-display' ;
531+ import Markdown , { MarkdownIt }from ' @ronradtke/ react-native-markdown-display' ;
532532import blockEmbedPlugin from ' markdown-it-block-embed' ;
533533
534534const markdownItInstance =
@@ -615,7 +615,7 @@ And all of the video properties needed to render something meaningful are on the
615615You can do some additional debugging of what the markdown instance is spitting out like this:
616616
617617``` jsx
618- import Markdown , { MarkdownIt } from ' react-native-markdown-display' ;
618+ import Markdown , { MarkdownIt }from ' @ronradtke/ react-native-markdown-display' ;
619619import blockEmbedPlugin from ' markdown-it-block-embed' ;
620620
621621const markdownItInstance =
@@ -847,7 +847,7 @@ Think of the implementation like applying styles in CSS. changes to the `body` e
847847import React from ' react' ;
848848import { SafeAreaView , ScrollView , StatusBar } from ' react-native' ;
849849
850- import Markdown from ' react-native-markdown-display' ;
850+ import Markdownfrom ' @ronradtke/ react-native-markdown-display' ;
851851
852852const copy = `
853853This is some text which is red because of the body style, which is also really small!
@@ -910,7 +910,7 @@ Styles are used to override how certain rules are styled. The existing implement
910910import React from ' react' ;
911911import { SafeAreaView , ScrollView , StatusBar , StyleSheet } from ' react-native' ;
912912
913- import Markdown from ' react-native-markdown-display' ;
913+ import Markdownfrom ' @ronradtke/ react-native-markdown-display' ;
914914
915915const styles = StyleSheet .create ({
916916 heading1: {
@@ -984,7 +984,7 @@ Rules are used to specify how you want certain elements to be displayed. The exi
984984import React from ' react' ;
985985import { SafeAreaView , ScrollView , StatusBar , Text } from ' react-native' ;
986986
987- import Markdown from ' react-native-markdown-display' ;
987+ import Markdownfrom ' @ronradtke/ react-native-markdown-display' ;
988988
989989const rules = {
990990 heading1 : (node , children , parent , styles ) =>
@@ -1093,7 +1093,7 @@ It is possible to overwrite this behaviour in one of two ways:
10931093import React from ' react' ;
10941094import { SafeAreaView , ScrollView , StatusBar } from ' react-native' ;
10951095
1096- import Markdown from ' react-native-markdown-display' ;
1096+ import Markdownfrom ' @ronradtke/ react-native-markdown-display' ;
10971097
10981098const copy = ` [This is a link!](https://github.com/iamacup/react-native-markdown-display/)` ;
10991099
@@ -1145,7 +1145,7 @@ Something like this with `yourCustomHandlerFunctionOrLogicHere`:
11451145import React from ' react' ;
11461146import { SafeAreaView , ScrollView , StatusBar , Text } from ' react-native' ;
11471147
1148- import Markdown from ' react-native-markdown-display' ;
1148+ import Markdownfrom ' @ronradtke/ react-native-markdown-display' ;
11491149
11501150const copy = ` [This is a link!](https://github.com/iamacup/react-native-markdown-display/)` ;
11511151
@@ -1196,7 +1196,7 @@ This example will stop images and links.
11961196import React from ' react' ;
11971197import { SafeAreaView , ScrollView , StatusBar , Text } from ' react-native' ;
11981198
1199- import Markdown , { MarkdownIt } from ' react-native-markdown-display' ;
1199+ import Markdown , { MarkdownIt }from ' @ronradtke/ react-native-markdown-display' ;
12001200
12011201const copy = `
12021202# This heading will show with formatting
@@ -1240,7 +1240,7 @@ It is possible to need to pre-process the data outside of this library ([related
12401240import React from ' react' ;
12411241import { SafeAreaView , ScrollView , StatusBar , Text } from ' react-native' ;
12421242
1243- import Markdown , { MarkdownIt , tokensToAST , stringToTokens } from ' react-native-markdown-display' ;
1243+ import Markdown , { MarkdownIt , tokensToAST , stringToTokens }from ' @ronradtke/ react-native-markdown-display' ;
12441244
12451245const markdownItInstance = MarkdownIt ({typographer: true });
12461246
0 commit comments