dotnet-ad / MarkdownView

Native markdown rendering on top of Xamarin.Forms & Markdig.
MIT License
126 stars 41 forks source link

Migrate to MAUI #24

Open kiddailey opened 3 months ago

kiddailey commented 3 months ago

First - thanks for this great example. It's an interesting take on rendering to XAML and I found it to be very helpful in a bunch of ways. That said, Xamarin Forms is officially deprecated :( and I'd really like to see this migrated to MAUI.

The good news is that I've already done the work :) And in doing the migration, also fixed a bunch of issues due to the platform changes (I'm looking at you StackLayout), added support for Tables and TaskLists, and implemented some other enhancements and fixes.

The thing is -- I don't think a pull request is the proper course of action. Why?:

So I guess this is really a request to create a new project repository. If there's no desire to manage it, I'm more than happy to do so -- just wanted to give first opportunity to you. In any case, the readme should be updated to link to the MAUI version wherever it ends up.

Thanks again!

kiddailey commented 2 months ago

Since opening this issue, I forked the bares43 version because it had some notable changes, and have completely migrated the project to MAUI. While doing so, I also added a ton of new features and additional improvements (among which I added mark down table and task list support).

I also refactored the theming system so that it uses the native MAUI/Xamarin Styles and DynamicResources method instead of code. This gives the developer much more control over how things look and completely separates the visual style from the code.

It's dramatically different from the original libraries now, so I'll probably be posting it as a new project at some point, with credit to yours and bares43's great work. Will follow-up when it's ready.