diff2html
diff2html copied to clipboard
Pretty diff to html javascript library (diff2html)
Fixes a regression: toggling Viewed no longer hides the patch for the file. #### Steps to reproduce: 1. *** show a diff (e.g. at https://jsbin.com/salayecelu/edit?html,output ) 2. *** click "Viewed"...
Hi, I've been trying to figure out what the matching option actually does, playing around with the demo here - https://diff2html.xyz/demo.html The output always looks the same regardless of the...
### Step 0: Describe your environment - OS: macOS 12.4 - diff2html version: 3.4.17 ### Step 1: Describe the problem: the webpack dev server returns compile warnings #### Observed Results:...
Hi, I have a custom language (say `foolang`) registered in the `hljs` instance, is it possible to highlight a language that is not listed there: https://github.com/rtfpessoa/diff2html/blob/e5c813949fcbb9a0b96ce528f49539d63cbdcf40/src/ui/js/highlight.js-helpers.ts#L164 It is properly detected...
Add option `highlightLanguage` to set the highlight language. Default value is `''` to select the language based on the diffed filename extension. This is related to #437.
This is to add the functionality of ignoring white spaces, I added only to side by side view for demonstration purpose, the concept is to skip a line that has...
Allow line breaks in side-by-side view to see the code without the need to scroll horizontally. Check https://github.com/mohanapreeya/diff2html for an example. ----------- Thank for a quick response on #97 and...
https://github.com/twitter/hogan.js/issues/272 (2 May 2021) > It's been ~8 years since I seriously worked on this project […] After this work is done, I'll add a note to the README that...
### Step 1: Describe the problem: #### Steps to reproduce: 1. Open [Demo](https://diff2html.xyz/demo.html?matching=none&matchWordsThreshold=0.25&maxLineLengthHighlight=10000&diffStyle=word&renderNothingWhenEmpty=0&matchingMaxComparisons=2500&maxLineSizeInBlockForComparison=200&outputFormat=line-by-line&drawFileList=1&synchronisedScroll=1&highlight=1&fileListToggle=1&fileListStartVisible=0&smartSelection=1&fileContentToggle=1&diff=https://github.com/rtfpessoa/diff2html/pull/106) 2. Run the lighthouse performance audit #### Observed Results: - You should see Avoid an excessive DOM...
### Step -1: Before filling an issue check out troubleshooting section - Go to [README.md#Troubleshooting](https://github.com/rtfpessoa/diff2html#troubleshooting) ### Step 0: Describe your environment - OS: Kubuntu 21.04 - diff2html version: 3.4.11 -...