This creates a jsdiff widget which allows user to see differences between two strings.
1 2 |
oldStr |
Old string of text to diff |
newStr |
New string of text to diff |
diffType |
Type of diff to use |
language |
The syntax highlighting language to use |
width |
Fixed width for widget (in css units). The default is NULL, which results in intelligent automatic sizing based on the widget's container. |
height |
Fixed height for widget (in css units). The default is NULL, which results in intelligent automatic sizing based on the widget's container. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.