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

Is there a way to use the logic of this package for a standalone Markdown display component without text editing? #545

Open
markwitt1 opened this issue Nov 14, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@markwitt1
Copy link

Asking this as this seems to be the only well-maintained markdown library, so would love to use it just for displaying

@tomekzaw
Copy link
Collaborator

Hi @markwitt1, thanks for opening this issue.

Looks like it's related to #205.

We're working on it in #125 but had to prioritize other tasks.

For now, you can also use MarkdownTextInput with editable={false} as a workaround.

@markwitt1
Copy link
Author

markwitt1 commented Nov 15, 2024

Hey @tomekzaw , thanks for the quick update! Do you think there is already an MVP version one could use for very simple components such as text/bold text / list items? Also what would be the downside of just wrapping a UIKit markdown library?

@tomekzaw
Copy link
Collaborator

Do you think there is already an MVP version one could use for very simple components such as text/bold text / list items?

At this time not really, sorry.

what would be the downside of just wrapping a UIKit markdown library?

There are no downsides, it's just another approach. Live Markdown is meant to be a drop-in replacement for React Native's built-in TextInput (and hopefully Text) components so it makes sense to build on top of the RN native components.

@tomekzaw tomekzaw added the enhancement New feature or request label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants