bevy_snake icon indicating copy to clipboard operation
bevy_snake copied to clipboard

thanks for writing the post! it's extremely solid :D

Open jasikpark opened this issue 2 years ago • 3 comments

This isn't the right place, but I wanted to point out that your code blocks have their overflow hidden on the bevy tutorial post:

image

thanks for writing the post! I especially appreciate the "see the diff" asides that let me know whether I'm on track with your tutorial!

jasikpark avatar Jan 13 '22 07:01 jasikpark

Thanks for the kind words! Especially about the “see the diff” bits, those are very annoying to update so I’m glad they’re appreciated 😄.

The overflow thing is expected afaict, it’s scrollable right? I guess I could make the text wrap, but that looks a bit uglier IMO. What I can do is run these code blocks through rustfmt, with a small max_width, like 60 chars or something. I’ll do that, but lmk if that doesn’t sound right to you as a fix

marcusbuffett avatar Jan 13 '22 08:01 marcusbuffett

Yeah, I'm a bit confused b/c it seems that scrolling isn't working for me - I eventually set "width:max-content" on the containing div... I'm not sure what's up with it.

Also I feel you on the "updating the diffs" standpoint b/c there was one or two diffs linked to in the blog post that didn't seem to contain the right changes

jasikpark avatar Jan 13 '22 14:01 jasikpark

Maybe https://github.com/tummychow/git-absorb would be useful for you trying to edit git history easily?

jasikpark avatar Jan 13 '22 14:01 jasikpark