Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for nested lists #14

Open
machour opened this issue Nov 23, 2017 · 3 comments
Open

Add support for nested lists #14

machour opened this issue Nov 23, 2017 · 3 comments

Comments

@machour
Copy link
Contributor

machour commented Nov 23, 2017

This sample code crashes with 'Views nested within a <Text> must have a width and height

import React from "react";
import { ScrollView } from "react-native";
import { MarkdownView } from "react-native-markdown-view";

const README = `
* one thing
* two things
  * two.1 things
* three things
`;

export default class App extends React.Component {
  render() {
    return (
      <ScrollView>
        <MarkdownView>{README}</MarkdownView>
      </ScrollView>
    );
  }
}
@lukewlms
Copy link

Love this library. I have the same issue - just indenting a bullet crashes the renderer. What would it take to implement this?

Crashes with this simple markdown, containing a single indented bullet

- Perform as many repetitions ("reps") as you can
 - (The first time trying any workout, only go to 75% of your max)
- Aim for 30 seconds to 2.5 minutes (about 2 minutes on average)

image

@beausmith
Copy link
Contributor

@xcv58
Copy link

xcv58 commented Aug 21, 2018

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants