simonw / datasette-ripgrep

Web interface for searching your code using ripgrep, built as a Datasette plugin
https://ripgrep.datasette.io
Apache License 2.0
72 stars 1 forks source link

Use white-space: pre-wrap for the results #21

Closed simonw closed 3 years ago

simonw commented 3 years ago

I'd rather not have to scroll sideways. The line numbers should make it clear what's going on.

simonw commented 3 years ago

Demo: https://ripgrep.datasette.io/-/ripgrep?pattern=test&glob=

ripgrep__test