From 92269179bb00efcdae5b69751ff5acaabcb86d95 Mon Sep 17 00:00:00 2001 From: Mient-jan Stelling Date: Fri, 19 Jan 2018 13:12:17 +0100 Subject: [PATCH] updating docs --- README.md | 4 ---- doc/example/simple-with-custom-renderer.md | 2 ++ doc/example/simple-with-custom-rules.md | 2 ++ doc/example/simple-with-custom-styles.md | 2 ++ doc/example/simple.md | 20 +++++++++++++++++++- 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fb6117f..459eccc 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,6 @@ To give a summary of the supported syntax react-native-markdown-renderer support - Images - Plugins for **extra** syntax support, [see plugins](https://www.npmjs.com/browse/keyword/markdown-it-plugin). Because this markdown-renderer uses markdown-it as its base it also supports all its plugins and subsequent extra language support. - ### Tested on: | [] | react | react-native | version | @@ -40,13 +39,10 @@ To give a summary of the supported syntax react-native-markdown-renderer support | v | 16.0.0-alpha.6 | 0.44.0 | 2.0.5 | | x | 15.x | ^0.46.4 | 2.0.5 | -``` // react 15 seems to break with expo.``` - ### Todo - ~~add styleSheet support~~ - ~~add plugin support~~ - ~~add support for seperate rules~~ - - add styleSheet inheritance support ### How to: diff --git a/doc/example/simple-with-custom-renderer.md b/doc/example/simple-with-custom-renderer.md index 896b52b..86dd1a0 100644 --- a/doc/example/simple-with-custom-renderer.md +++ b/doc/example/simple-with-custom-renderer.md @@ -1,5 +1,7 @@ # Simple Implementation with custom styles +docs for v3.0.0 + So to describe what i customized - Heading1 has a **fontSize** of 32, **backgroundColor** black and a **color** white. - all headers have a **border** at the bottom, of width 1 with a black color. diff --git a/doc/example/simple-with-custom-rules.md b/doc/example/simple-with-custom-rules.md index 29f653e..7442a44 100644 --- a/doc/example/simple-with-custom-rules.md +++ b/doc/example/simple-with-custom-rules.md @@ -1,5 +1,7 @@ # Simple Implementation with custom Rules +docs for v3.0.0 + So to describe what i customized - header1 will always look like ```[ h1 Heading 8-)]``` - header2 will always look like ```[ h2 Heading 8-)]``` diff --git a/doc/example/simple-with-custom-styles.md b/doc/example/simple-with-custom-styles.md index aaca024..311e137 100644 --- a/doc/example/simple-with-custom-styles.md +++ b/doc/example/simple-with-custom-styles.md @@ -1,5 +1,7 @@ # Simple Implementation with custom styles +docs for v3.0.0 + So to describe what i customized - Heading1 has a **fontSize** of 32, **backgroundColor** black and a **color** white. - all headers have a **border** at the bottom, of width 1 with a black color. diff --git a/doc/example/simple.md b/doc/example/simple.md index 9166841..9a571d4 100644 --- a/doc/example/simple.md +++ b/doc/example/simple.md @@ -1,5 +1,7 @@ # Basic Implementation +docs for v3.0.0 + ```js import react from 'react'; import {PureComponent} from 'react-native'; @@ -25,4 +27,20 @@ export default class Page extends PureComponent { ); } } -``` \ No newline at end of file +``` + + + - updating docs Mient-jan Stelling 1/19/18, 13:00 + - updating readme Mient-jan Stelling 1/19/18, 12:59 + - Merge branch 'release/3.0.0' Mient-jan Stelling 1/19/18, 12:55 + - fixed issue where headers would now break to new line. Mient-jan Stelling 1/19/18, 12:54 + - fixed issue where images would not render. Mient-jan Stelling 1/19/18, 12:33 + - fixed issue where you could not set a general fontSize fo all copy. #17 Mient-jan Stelling 1/19/18, 12:06 + - adding small function so example wont break when starting it. Mient-jan Stelling 1/18/18, 18:55 + - updating to 3.0.0 because of breaking changes Mient-jan Stelling 1/18/18, 18:48 + - updating package.json to new react and react-native versions Mient-jan Stelling 1/18/18, 18:47 + - refactoring code so it will be easier to add plugins Mient-jan Stelling 1/18/18, 18:46 + - updating example code base Mient-jan Stelling 1/18/18, 18:39 + - adding watcher, for better development of component Mient-jan Stelling 1/18/18, 18:36 + - converting to new rule names, ul = bullet_list li = ordered_list a = link br = softbreak h1 <> h6 = heading1 <> heading6 Mient-jan Stelling 1/16/18, 14:13 + - adding type convert function for better support of new of writing tags. Mient-jan Stelling 1/16/18, 11:57 \ No newline at end of file