-
lançant la coloration syntaxique
Default.html
2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>[% title %]</title>
<meta name='Generator' content='[% generator.name %]'>
<link rel="stylesheet"
href="[% resource('common/zim-style.css') %]" >
<link rel="stylesheet"
href="[% resource('common/zim-table-style.css') %]" >
<link rel="stylesheet"
href="[% resource('common/zim-special.css') %]" >
<link rel="stylesheet"
href="[% resource('common/zim-hljs.css') %]" >
<style type='text/css'>
* { font-family: sans-serif }
a:hover { text-decoration: underline; }
/* Centre les images mais elles sont coupées aux sauts de page à l'impression */
img {
display: block;
margin-left: auto;
margin-right: auto;
}
</style>
<!-- Themes clair :
atom-one-light.css, vs.css googlecode.css github.css
qtcreator_light.css
Themes sombres :
agate.css vs2015.css atom-one-dark.css hybrid.css
ir-black.css sunburst.css tomorrow-night-bright.css
qtcreator_dark.css
Demo live : https://highlightjs.org/static/demo/ -->
<link rel="stylesheet"
href="[% resource('common/hljs/styles/sunburst.css') %]" >
<!-- hljs -->
<script src="[% resource('common/hljs/highlight.pack.js') %]"></script>
</head>
<body>
[% options.empty_lines = "default" %]
<!-- Header -->
<div class='header'>
[% IF navigation.prev %]
[ <a href='[% uri(navigation.prev) %]'>[% gettext("Prev") %]</a> ]
[% ELSE %]
[ <span class='insen'>[% gettext("Prev") %]</span> ]
[% END %]
[% IF links.get("index") %]
[ <a href='[% uri(links.get("index")) %]'>[% gettext("Index") %]</a> ]
[% ELSE %]
[ <span class='insen'>[% gettext("Index") %]</span> ]
[% END %]
[% IF navigation.next %]
[ <a href='[% uri(navigation.next) %]'>[% gettext("Next") %]</a> ]
[% ELSE %]
[ <span class='insen'>[% gettext("Next") %]</span> ]
[% END %]
</div>
<hr />
<!-- Wiki content -->
<div class='pages'>
<!--[% FOR page IN pages %]-->
<div class='heading'>
<h1>[% page.title %] <a name='[% anchor(page) %]'></a></h1>
</div>
<div class='content'>
[% page.body %]
</div>
<br />
<div class='page-footer'>
<!--[% FOR link IN page.backlinks %]-->
[% IF loop.first %]<b>[% gettext("Backlinks:") %]</b>[% END %]
<a href='[% uri(link) %]'>[% link.name %]</a>
[% IF loop.last %]<br /><br />[% END %]
<!--[% END %]-->
<!--[% FOR file IN page.attachments %]-->
[% IF loop.first %]
<b>[% gettext("Attachments:") %]</b>
<table>
[% END %]
<tr><td><a href='[% uri(file) %]'>[% file.basename %]</a></td><td> </td><td>[% file.size %]</td></tr>
[% IF loop.last %]
</table>
[% END %]
<!--[% END %]-->
</div>
[% IF not loop.last %]<hr />[% END %]
<!--[% END %]-->
</div>
<script src="[% resource('common/go-hljs.js') %]"></script>
</body>
</html>