hunterdyar / CSharp-By-Example

Generates csharpbyexample.dev from cs files
https://csharpbyexample.dev/
Creative Commons Attribution 4.0 International
0 stars 0 forks source link

Errors in code? #26

Open hunterdyar opened 5 months ago

hunterdyar commented 5 months ago

I like a "this won't work" bit of code, but want to seperate it from examples. Writing literally broken code is no good.

something like //-starterror //-enderror

comments and we separate the block, and change the background color, and an stopsign ! icon or something?

Probably just want to not write code with errors on the 'examples of good code' website tho.

hunterdyar commented 5 months ago

I'm leaning more and more into not having any incorrect code visible in the current way. It would HAVE to have it's own section or background color.