@valtown/codemirror-preview-replacement
v0.0.5
Published
CodeMirror plugin to support previewing a replacement operation
Readme
@valtown/codemirror-preview-replacement
Let's say that you're building a UI in which you can do search & replace against a bunch of files. This codemirror extension lets you preview that by showing the old text crossed-out and the new text in green next to it.
See demo/index.ts for usage example.
