diff options
-rw-r--r-- | src/view-source.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/view-source.c b/src/view-source.c index 45ce8e9..7a716e2 100644 --- a/src/view-source.c +++ b/src/view-source.c @@ -42,10 +42,18 @@ static const gchar *document = "<head>\n" "<meta charset=\"utf-8\">\n" "<title>Source of %s</title>\n" + "<link rel=\"stylesheet\" type=\"text/css\" " + "media=\"all\" " + "href=\"view-source:resources/prism/" + "prism.css\">\n" + "<script src=\"view-source:resources/prism/" + "prism.js\"></script>\n" "</head>\n" "<body>\n" - "<pre>\n" - "<code>%s</code>\n" + "<pre style=\"overflow: visible;\">\n" + "<code class=\"language-markup line-numbers\" " + "style=\"overflow: visible;\">" + "%s</code>\n" "</pre>\n" "</body>\n" "</html>\n"; |