Long lines (especially inline comments) are annoying to read within code blocks. I can override this with a manual hack in
custom.css
:
.prism-code > div {
white-space : pre-wrap;
}
But what I'd love to have is a button to toggle line wrap on and off within code blocks globally. This could be right next to the Copy button.
Maybe there's a way to do this... but I'm not sure how. Any tips would be much appreciated!