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

Support Markdown according to specification #141

Open
1 task done
pauljohanneskraft opened this issue Nov 11, 2024 · 0 comments
Open
1 task done

Support Markdown according to specification #141

pauljohanneskraft opened this issue Nov 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pauljohanneskraft
Copy link
Contributor

pauljohanneskraft commented Nov 11, 2024

Problem

I noticed that the current markdown parser only supports a very limited set of markdown concepts and interprets some of them incorrectly (e.g. if a line contains the sequence **, we simply make that line as a whole bold, no matter if it is terminated with a ** or not).

Solution

Introduce a markdown parsing library or check for system-provided solutions to support markdown according to specification.

Additional context

Instead of building our own custom MarkdownElement values, we could emit AnnotatedString just like on iOS.

It may make sense to integrate https://github.com/JetBrains/markdown similar to how it is done in https://github.com/volo-droid/Markdown-to-AnnotatedString and then create Text composables from that.

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@pauljohanneskraft pauljohanneskraft added the enhancement New feature or request label Nov 11, 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
Status: Backlog
Development

No branches or pull requests

1 participant