CodeDoctor

Results 445 comments of CodeDoctor

Hi, is the bug in the newest stable reproducable?

got no answer, would put it in https://github.com/LinwoodDev/Butterfly/issues/569

Good idea. Maybe also add it in rich text mode, but I'm currently not sure how

I searched a bit how we could make it and found this: - https://pub.dev/packages/flutter_math_fork (but isn't really active maintained) - https://pub.dev/packages/flutter_tex (but has performance issues when using many latex elements)...

Yeah, I'm currently evaluating how I could add it on all platforms without having any difference. I think the javascript version with katex is the best option on all platforms...

Added to the 2.4 plan: I will use the flutter_math_fork and try to render the widget as a png and then put it inside the canvas

I tried it multiple hours and didn't get it working. TextPainter only gives "Placeholder positions" and you need to handle how the widget is rendered. These render logic is inside...

Found out how to render flutter widgets. Lets see if this is working... https://github.com/ABausG/home_widget/blob/main/packages%2Fhome_widget%2Flib%2Fsrc%2Fhome_widget.dart#L156

Latex is rendering 🎉 i need to build something around it but it looks good :) See https://github.com/LinwoodDev/Butterfly/pull/881 for more updates

I will make an incremental update out of that. I will first focus on Markdown, then I will add latex functionality in rich text