Welcome to the community, Mark! As a technical reader, I'd actually prefer your code snippets to be expanded. It's also helpful when search engines pick up your page for reference. Another developer stopping by to see a code example will find it much easier if it's not hidden behind a click function.
Thank you for your welcome and feedback! My main concern was indeed whether or not people would rather scan the page and immediately see the code when specifically looking for some solution or if they would be bothered by having a lot of paragraphs being separated by code.
But it does make sense to have it expanded yes.
I do like it for some reason, so maybe I'll find some other use for them in the future (also spent quite some unnecessary amount of time on the spoilers:) )
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Welcome to the community, Mark! As a technical reader, I'd actually prefer your code snippets to be expanded. It's also helpful when search engines pick up your page for reference. Another developer stopping by to see a code example will find it much easier if it's not hidden behind a click function.
Ali Spittel (@aspittel ) just published a post about blogging as a developer, you should check it out: dev.to/aspittel/blogging-as-a-deve...
Good luck with the new blog!
Hey Seth,
Thank you for your welcome and feedback! My main concern was indeed whether or not people would rather scan the page and immediately see the code when specifically looking for some solution or if they would be bothered by having a lot of paragraphs being separated by code.
But it does make sense to have it expanded yes.
I do like it for some reason, so maybe I'll find some other use for them in the future (also spent quite some unnecessary amount of time on the spoilers:) )