From ce88d603fc04db1ea9cd7987f42b07aa4bbf5d0f Mon Sep 17 00:00:00 2001 From: Rodrigo Fernandes Date: Thu, 23 May 2019 20:43:12 +0100 Subject: [PATCH] doc: Make more clear that stylesheets are always included in the end HTML --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index d26ce01..242f992 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,17 @@ diff2html generates pretty HTML diffs from git or unified diff output. ## How to use +To load correctly in the Browser you always need to include the stylesheet in the final HTML. + +Import the stylesheet + +```html + + +``` + +You can also refer to it from a CDN like [CDNJS](https://cdnjs.com/libraries/diff2html). + ### Browser Library Import the stylesheet and the library code