- cross-posted to:
- csharp
- dotnetmaui
- cross-posted to:
- csharp
- dotnetmaui
cross-posted from: https://programming.dev/post/6722007
I had cause to mention this to someone today, and thought I would share this here for anyone who may not have seen it before and would be interested in this info - Creating MAUI UI’s in C#
Your code examples are really hard to read, doesn’t dev.to provide proper code snippet support? I remember reading some posts there that had proper formatting and highlighting. Regarding MAUI, I was burned by Xamarin years ago. I will not touch that evolutionary cul-de-sac again.
Are you talking about the lack of indentation? I don’t know why it does that. I tried using with the same result. I’d fix it if I knew how!
Well, I just had an issue then here with and eventually found backslash worked - I’ll give that a go (not sure if I already tried it before).
Try this. I found it by searching for “dev.to how to format code”.
Yeah that works! That says use 3 backticks, but if you click on the “code” tool, it only adds single backticks (hence me fiddling around with other ways of trying to make it indent, since the “code” tool doesn’t do it. Not sure what use the “code” tool is then!). Thanks!