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

Switch to Compose-based markdown rendering solution #825

Merged
merged 9 commits into from
Apr 25, 2024
Merged

Conversation

ZacSweers
Copy link
Collaborator

@ZacSweers ZacSweers commented Apr 25, 2024

This uses a multiplatform compose markdown renderer for markdown rendering, offering a nicer UI for the whatsnew panel since Studio doesn't seem likely to ever support JCEF.

In the process of this, I also made a playground project where we can test compose UIs like this and project gen without needing to run a whole IDE flow to test, to make it easier to iterate. Now it's as easy as just running the main functions in those files.

There are still some features missing from the markdown library like strikethrough, dividers, tables, etc, but the maintainer is responsive and I've been filing issues. This builds a best-effort bridge theme based off of Jewel. In the future we may also consider their in-development impl.

Light Dark
Screenshot 2024-04-25 at 2 23 59 PM Screenshot 2024-04-25 at 2 24 01 PM

@ZacSweers ZacSweers requested a review from linhpha April 25, 2024 18:29
)
}
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is awesome 🎉

Copy link
Collaborator

@linhpha linhpha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@ZacSweers ZacSweers added this pull request to the merge queue Apr 25, 2024
Merged via the queue into main with commit 1281264 Apr 25, 2024
3 checks passed
@ZacSweers ZacSweers deleted the z/composeMD branch April 25, 2024 22:02
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

Successfully merging this pull request may close these issues.

2 participants