whistyun / Markdown.Avalonia

render markdown with Avalonia UI
MIT License
301 stars 24 forks source link

Update for Avalonia 11 RC1 API changes #112

Closed IhateTrains closed 1 year ago

IhateTrains commented 1 year ago

https://github.com/AvaloniaUI/Avalonia/wiki/Avalonia-11-Porting-Guide

aldelaro5 commented 1 year ago

I actually tried to do this and I basically ended up doing the same as you, but I also got into issues with compiling the demo projects because of a blocker I brought up here: https://github.com/AvaloniaUI/Avalonia/discussions/11593#discussioncomment-6060170

The strange thing is that if you remove that style include, you get an error at runtime about the Source not being set in ThemeBehavior.

That's where I was and got stuck because I didn't really know what this was trying to do in the first place.

IhateTrains commented 1 year ago

I don't know how to fix this either, so will keep the PR open as it is and probably wait for a response from Avalonia team.

laolarou726 commented 1 year ago

Any updates for this PR?