문제

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