Skip to content

Support Markdown according to specification #141

Description

@pauljohanneskraft

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions