Skip to content

Commit d728403

Browse files
committed
fix bullet point nesting issue
1 parent db90acd commit d728403

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import Markdown from 'react-native-markdown-display';
3535

3636
const copy = `# h1 Heading 8-)
3737
38-
** this is some bold text! **
38+
**This is some bold text!**
3939
4040
This is normal text
4141
`;
@@ -288,11 +288,11 @@ And some additional, less used options:
288288
<p>
289289

290290
```
291-
[link text](http://dev.nodeca.com)
291+
[link text](https://www.google.com)
292292
293-
[link with title](http://nodeca.github.io/pica/demo/ "title text!")
293+
[link with title](https://www.google.com "title text!")
294294
295-
Autoconverted link https://github.com/nodeca/pica (enable linkify to see)
295+
Autoconverted link https://www.google.com (enable linkify to see)
296296
```
297297

298298
| iOS | Android
@@ -471,11 +471,11 @@ Tables
471471
472472
Links
473473
474-
[link text](http://dev.nodeca.com)
474+
[link text](https://www.google.com)
475475
476-
[link with title](http://nodeca.github.io/pica/demo/ "title text!")
476+
[link with title](https://www.google.com "title text!")
477477
478-
Autoconverted link https://github.com/nodeca/pica (enable linkify to see)
478+
Autoconverted link https://www.google.com (enable linkify to see)
479479
480480
481481
Images

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-markdown-display",
3-
"version": "4.0.13",
3+
"version": "4.1.0",
44
"description": "Markdown renderer for react-native, with CommonMark spec support + adds syntax extensions & sugar (URL autolinking, typographer), originally created by Mient-jan Stelling as react-native-markdown-renderer",
55
"main": "src/index.js",
66
"types": "src/index.d.ts",

src/lib/styles.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import {Platform, StyleSheet} from 'react-native';
22
import PlatformEnum from './data/PlatformEnum';
33

4-
/**
5-
*
6-
*/
74
export const styles = StyleSheet.create({
85
root: {},
96
view: {},
@@ -121,6 +118,7 @@ export const styles = StyleSheet.create({
121118
flexDirection: 'row',
122119
alignItems: 'flex-start',
123120
justifyContent: 'flex-start',
121+
width: '100%',
124122
},
125123
hardbreak: {
126124
width: '100%',
@@ -137,9 +135,7 @@ export const styles = StyleSheet.create({
137135
tableHeader: {},
138136
tableHeaderCell: {
139137
flex: 1,
140-
// color: '#000000',
141138
padding: 5,
142-
// backgroundColor: 'green',
143139
},
144140
tableRow: {
145141
borderBottomWidth: 1,

0 commit comments

Comments
 (0)