Skip to content

Commit 031aad3

Browse files
Ron RadtkeRon Radtke
authored andcommitted
update redme
1 parent 954c25e commit 031aad3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ npm install -S react-native-markdown-display
2424
import React from 'react';
2525
import { SafeAreaView, ScrollView, StatusBar } from 'react-native';
2626

27-
import Markdown from 'react-native-markdown-display';
27+
import Markdownfrom '@ronradtke/react-native-markdown-display';
2828

2929
const copy = `# h1 Heading 8-)
3030
@@ -462,7 +462,7 @@ Identify the new components and integrate the plugin with a rendered component.
462462
import React from 'react';
463463
import { 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';
466466
import blockEmbedPlugin from 'markdown-it-block-embed';
467467

468468
const markdownItInstance =
@@ -528,7 +528,7 @@ We need to create the **render rules** and **styles** to handle this new **'vide
528528
import React from 'react';
529529
import { 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';
532532
import blockEmbedPlugin from 'markdown-it-block-embed';
533533

534534
const markdownItInstance =
@@ -615,7 +615,7 @@ And all of the video properties needed to render something meaningful are on the
615615
You 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';
619619
import blockEmbedPlugin from 'markdown-it-block-embed';
620620

621621
const markdownItInstance =
@@ -847,7 +847,7 @@ Think of the implementation like applying styles in CSS. changes to the `body` e
847847
import React from 'react';
848848
import { SafeAreaView, ScrollView, StatusBar } from 'react-native';
849849

850-
import Markdown from 'react-native-markdown-display';
850+
import Markdownfrom '@ronradtke/react-native-markdown-display';
851851

852852
const copy = `
853853
This 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
910910
import React from 'react';
911911
import { 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

915915
const styles = StyleSheet.create({
916916
heading1: {
@@ -984,7 +984,7 @@ Rules are used to specify how you want certain elements to be displayed. The exi
984984
import React from 'react';
985985
import { 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

989989
const rules = {
990990
heading1: (node, children, parent, styles) =>
@@ -1093,7 +1093,7 @@ It is possible to overwrite this behaviour in one of two ways:
10931093
import React from 'react';
10941094
import { SafeAreaView, ScrollView, StatusBar } from 'react-native';
10951095

1096-
import Markdown from 'react-native-markdown-display';
1096+
import Markdownfrom '@ronradtke/react-native-markdown-display';
10971097

10981098
const copy = `[This is a link!](https://github.com/iamacup/react-native-markdown-display/)`;
10991099

@@ -1145,7 +1145,7 @@ Something like this with `yourCustomHandlerFunctionOrLogicHere`:
11451145
import React from 'react';
11461146
import { 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

11501150
const 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.
11961196
import React from 'react';
11971197
import { 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

12011201
const 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
12401240
import React from 'react';
12411241
import { 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

12451245
const markdownItInstance = MarkdownIt({typographer: true});
12461246

0 commit comments

Comments
 (0)