Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1.22 KB

File metadata and controls

21 lines (12 loc) · 1.22 KB

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

image

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.

image

If you use TamperMonkey plugin, you can use it script