Comments (4)
Unless you have some specific thing you feel like contributing to the docs, I feel like there are already examples covering this like https://github.com/rtfpessoa/diff2html?tab=readme-ov-file#stimulusjs-with-typescript
from diff2html.
@rtfpessoa - fair enough! I'll try to possibly make a PR with some changes / possible improvements to documentation. Keep in mind you did an AWESOME job documenting this. Just I'm the type (lots of others too need it even more dumbed down lol)
from diff2html.
I think you are missing the actual CSS, check one example here https://github.com/rtfpessoa/diff2html/blob/master/website/templates/pages/demo/demo.ts
from diff2html.
@rtfpessoa - it appears you are correct! I thought I tried this (maybe I didn't tho and used a Hightlight.js CSS sheet).
That said - awesome project tho! Some documentation improvements would probably save a lot of other's headaches.
Thank you for the quick reply! Cheers 🥂
ps; didn't mean to close issue - possibly should keep open!
from diff2html.
Related Issues (20)
- Diff2html fails with Error: Cannot find module 'tslib'
- Slim version doesn't fallback to 'plaintext' on unsupported file type HOT 4
- File list links are not working in Angular integration for diff2html-ui HOT 2
- CSS not working inside shadow DOM
- Feature request: option to only show first n files HOT 3
- when execute git diff --word-diff-regex=. ,diff2html is not work HOT 1
- how to make `diff2html` display line breaks for line-by-line view ?? HOT 1
- Backslashes removed in title e.g. C:\dev\alex\test.json -> C:devalex.json HOT 2
- Problems with multiline code blocks highlighted incorrectly HOT 1
- How to hightlight space in new Line? HOT 4
- How to support comments? HOT 1
- How to support code review functionality ? HOT 1
- Getting the data structure used for HTML rendering (Nodejs use) HOT 1
- Way to split up large diff HOT 1
- Unrecognised input. Possibly missing opening '{' HOT 2
- Handling Encoding Issues with simple-git: Decoding git diff Output in Various Encodings HOT 1
- Creating a Custom Render Class in diff2html for Flexible Template Rendering
- jsdiff createPatch always show second file at the end instead of the beginning with html2diff HOT 1
- Line similarity matching doesn't work well in some cases
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diff2html.