test_markdown: use more css and js from highlight
authorJean Privat <jean@pryen.org>
Tue, 3 Jun 2014 14:01:54 +0000 (10:01 -0400)
committerJean Privat <jean@pryen.org>
Tue, 3 Jun 2014 14:01:54 +0000 (10:01 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/test_markdown.nit

index d9c9060..3b65f7c 100644 (file)
@@ -73,6 +73,9 @@ var page = new HTMLTag("html")
 page.add_raw_html """
 <head>
 <meta charset="utf-8">
+"""
+page.add_raw_html hv.head_content
+page.add_raw_html """
 <style type="text/css">
 code {margin: 0 2px;
 padding: 0px 5px;
@@ -93,8 +96,7 @@ border-color: red;
 }
 {{{hv.css_content}}}
 </style>
-</head><body>
-"""
+</head><body>"""
 
 if opt_full.value then
        for m in model.mmodules do
@@ -106,5 +108,6 @@ else
        end
 end
 
+page.add_raw_html hv.foot_content
 page.add_raw_html "</body>"
 page.write_to(stdout)