Wrap-Unwrap for pre code
This is solution to wrap long lines inside markdown code blocks
in github, gitlab issues, stackoverflow and any other where you want.
Based on answer https://stackoverflow.com/a/57341170/5447232
Configure
For use in a browser, install an extension that allows you to run arbitrary JS and CSS code. For example JSScript triks.
Place the code from logic.js and styles.css in the appropriate fields of the extension.
TamperMonkey script
If you use TamperMonkey plugin, you can use it script