mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-07 04:56:53 +00:00
![Jeremy Ruston](/assets/img/avatar_default.png)
* Initial Commit * Fix crash with invalid patches See https://github.com/Jermolene/TiddlyWiki5/pull/7290#issuecomment-1453155311 Thanks @yaisog * Add words and lines options to makepatches (#7326) * Prevent infinite loop for single-word texts (#7327) * Add docs and examples for the new operators (#7328) * Create makepatches Operator.tid * Improve wording * Doc and examples for the new operators --------- Co-authored-by: yaisog <m@rcuswinter.de>
28 lines
441 B
Plaintext
28 lines
441 B
Plaintext
title: Filters/DiffMergePatch1
|
|
description: Tests for diff-merge-patch derived operators
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
\define text1()
|
|
the cat sat on the mat
|
|
\end
|
|
|
|
\define text2()
|
|
the hat saw in every category
|
|
\end
|
|
|
|
<$text text={{{ [<text1>makepatches<text2>] }}}/>
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>@@ -1,22 +1,29 @@
|
|
the
|
|
-c
|
|
+h
|
|
at sa
|
|
-t on the mat
|
|
+w in every category
|
|
</p> |