Add HTML ressource dependency imports to the docs
This commit is contained in:
parent
7aeb70b9bc
commit
2e142900ef
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
|
@ -75,6 +75,18 @@ The HTML output accepts a Javascript object with configuration. Possible options
|
||||||
|
|
||||||
### How to use
|
### How to use
|
||||||
|
|
||||||
|
> HTML resource imports
|
||||||
|
|
||||||
|
```html
|
||||||
|
<!-- CSS -->
|
||||||
|
<link rel="stylesheet" type="text/css" href="dist/diff2html.css">
|
||||||
|
|
||||||
|
<!-- Javascripts -->
|
||||||
|
<script type="text/javascript" src="dist/diff2html-templates.js"></script>
|
||||||
|
<script type="text/javascript" src="dist/diff2html.js"></script>
|
||||||
|
<script type="text/javascript" src="dist/diff2html-ui.js"></script>
|
||||||
|
```
|
||||||
|
|
||||||
> Init
|
> Init
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue