-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update diff2html and add style configurations
- Loading branch information
Showing
7 changed files
with
52 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# This file is for unifying the coding style for different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
indent_size = 2 | ||
max_line_length = 120 | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,6 @@ target/ | |
# Node | ||
node_modules/ | ||
npm-debug.log | ||
|
||
# Istanbul | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Diff to HTML by rtfpessoa</title> | ||
<meta charset="utf-8"> | ||
<title>Diff to HTML by rtfpessoa</title> | ||
|
||
<!-- | ||
Diff to HTML (template.html) | ||
Author: rtfpessoa | ||
--> | ||
<!-- | ||
Diff to HTML (template.html) | ||
Author: rtfpessoa | ||
--> | ||
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.1.0/styles/github.min.css"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.3.0/styles/github.min.css"> | ||
|
||
<!--diff2html-css--> | ||
<!--diff2html-css--> | ||
|
||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/jquery.js"></script> | ||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.1.0/highlight.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.1.0/languages/scala.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.3.0/highlight.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.3.0/languages/scala.min.js"></script> | ||
|
||
<!--diff2html-js-ui--> | ||
<!--diff2html-js-ui--> | ||
|
||
<script> | ||
$(document).ready(function() { | ||
var diff2htmlUi = new Diff2HtmlUI(); | ||
//diff2html-fileListCloseable | ||
diff2htmlUi.highlightCode('#diff'); | ||
}); | ||
</script> | ||
<script> | ||
$(document).ready(function() { | ||
var diff2htmlUi = new Diff2HtmlUI(); | ||
//diff2html-fileListCloseable | ||
diff2htmlUi.highlightCode('#diff'); | ||
}); | ||
</script> | ||
</head> | ||
<body style="text-align: center; font-family: 'Source Sans Pro',sans-serif;"> | ||
<h1>Diff to HTML by <a href="https://github.com/rtfpessoa">rtfpessoa</a></h1> | ||
|
||
<div id="diff"> | ||
<!--diff2html-diff--> | ||
<!--diff2html-diff--> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters