Is there a way to get the interactive markdown editor to do basically what a word processors "track changes" does.

For example, the editor is pre-loaded with the following text.

The small brown dog jumped over the lazy fox

Then the user changes the text to the following:

The small brown dog jumped under the lazy fox

I want the following to be displayed:

The small brown dog jumped overunder the lazy fox

Does pagedown (or any other interactive web-based markdown editor) have such a feature?

有帮助吗?

解决方案

It's not fully integrated into your editor, but you can get this effect with some of the javascript diff implementations. jsdiff, for example, does what you're describing: http://kpdecker.github.com/jsdiff/ . Xindiff also does this.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top