Mon, 03 Oct 2022 12:27:10 +0200
add test for empty file
17
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
1 | <!DOCTYPE html> |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
2 | <html> |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
3 | <head> |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
4 | <title>c2html</title> |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
5 | <style type="text/css"> |
60
9f25df78925e
removes span around line number
Mike Becker <universe@uap-core.de>
parents:
27
diff
changeset
|
6 | a.c2html-lineno { |
9f25df78925e
removes span around line number
Mike Becker <universe@uap-core.de>
parents:
27
diff
changeset
|
7 | /* as long as user-select isn't widely spread, we throw the bomb */ |
9f25df78925e
removes span around line number
Mike Becker <universe@uap-core.de>
parents:
27
diff
changeset
|
8 | -webkit-user-select: none; |
9f25df78925e
removes span around line number
Mike Becker <universe@uap-core.de>
parents:
27
diff
changeset
|
9 | -moz-user-select: none; |
9f25df78925e
removes span around line number
Mike Becker <universe@uap-core.de>
parents:
27
diff
changeset
|
10 | -ms-user-select: none; |
9f25df78925e
removes span around line number
Mike Becker <universe@uap-core.de>
parents:
27
diff
changeset
|
11 | user-select: none; |
9f25df78925e
removes span around line number
Mike Becker <universe@uap-core.de>
parents:
27
diff
changeset
|
12 | display: inline-block; |
17
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
13 | font-style: italic; |
27
53fd8595378c
added links for line numbers
Mike Becker <universe@uap-core.de>
parents:
17
diff
changeset
|
14 | text-decoration: none; |
17
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
15 | color: grey; |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
16 | } |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
17 | span.c2html-keyword { |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
18 | color: blue; |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
19 | } |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
20 | span.c2html-macroconst { |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
21 | color: cornflowerblue; |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
22 | } |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
23 | span.c2html-type { |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
24 | color: teal; |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
25 | } |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
26 | span.c2html-directive { |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
27 | color: silver; |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
28 | } |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
29 | span.c2html-string { |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
30 | color: darkorange; |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
31 | } |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
32 | span.c2html-comment { |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
33 | color: grey; |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
34 | } |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
35 | span.c2html-stdinclude, span.c2html-userinclude, a.c2html-userinclude { |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
36 | } |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
37 | </style> |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
38 | </head> |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
39 | <body> |
7ea86024aef0
implemented java highlighting
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
40 |