Custom element to view unified diff
npm install shaf-unified-diff``html`
`html`
`html`
diff -u originaldirectory/file1 updateddirectory/file1
--- originaldirectory/file1 2007-02-04 16:17:57.000000000 +0100
+++ updateddirectory/file1 2007-02-04 16:18:33.000000000 +0100
@@ -1 +1 @@
-This is the first original file.
+This is the first updated file.
The diff still shows if JavaScript is turned off. Don't indent the contents since the
` tag assumes preformatted text.Dependencies