From ba13de46a073ab2f9a38e3e7a42a7513adc8fda5 Mon Sep 17 00:00:00 2001 From: Rodrigo Fernandes Date: Sun, 9 Oct 2016 23:01:01 +0100 Subject: [PATCH] Add support for online diff prettifier * Initial support for GitHub, Bitbucket and GitLab urls * Also support any Git or unified diffs urls * Special thanks to @kevinsimper for the idea --- docs/demo.html | 1 + docs/index.html | 3 +- docs/main.css | 18 + docs/url.html | 331 ++++++++++++++++++ .../templates/pages/demo/demo.partial.html | 2 +- .../templates/pages/index/index.partial.html | 3 +- .../pages/url/url-assets.partial.html | 5 + .../pages/url/url-scripts.partial.html | 130 +++++++ website/templates/pages/url/url.partial.html | 51 +++ 9 files changed, 541 insertions(+), 3 deletions(-) create mode 100644 docs/url.html create mode 100644 website/templates/pages/url/url-assets.partial.html create mode 100644 website/templates/pages/url/url-scripts.partial.html create mode 100644 website/templates/pages/url/url.partial.html diff --git a/docs/demo.html b/docs/demo.html index a4c9ac9..8b9147f 100644 --- a/docs/demo.html +++ b/docs/demo.html @@ -104,6 +104,7 @@
+