We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ef1a6f + c6ccf02 commit d3859b8Copy full SHA for d3859b8
README.md
@@ -269,12 +269,12 @@ document.addEventListener('DOMContentLoaded', () => {
269
</head>
270
<script>
271
const diffString = `diff --git a/sample.js b/sample.js
272
- index 0000001..0ddf2ba
273
- --- a/sample.js
274
- +++ b/sample.js
275
- @@ -1 +1 @@
276
- -console.log("Hello World!")
277
- +console.log("Hello from Diff2Html!")`;
+index 0000001..0ddf2ba
+--- a/sample.js
++++ b/sample.js
+@@ -1 +1 @@
+-console.log("Hello World!")
++console.log("Hello from Diff2Html!")`;
278
279
document.addEventListener('DOMContentLoaded', function () {
280
var targetElement = document.getElementById('myDiffElement');
0 commit comments