hdoc-tools 0.9.42 → 0.9.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "hdoc-tools",
|
3
|
-
"version": "0.9.
|
3
|
+
"version": "0.9.44",
|
4
4
|
"description": "Hornbill HDocBook Development Support Tool",
|
5
5
|
"main": "hdoc.js",
|
6
6
|
"bin": {
|
@@ -41,7 +41,6 @@
|
|
41
41
|
"dree": "^3.4.2",
|
42
42
|
"express": "^4.18.2",
|
43
43
|
"fs-extra": "^11.1.0",
|
44
|
-
"highlight.js": "^11.6.0",
|
45
44
|
"html-to-text": "^8.2.1",
|
46
45
|
"js-yaml": "^4.1.0",
|
47
46
|
"markdown-it": "^13.0.1",
|
@@ -128,7 +128,7 @@ audio,
|
|
128
128
|
iframe,
|
129
129
|
embed,
|
130
130
|
object {
|
131
|
-
display:none;
|
131
|
+
display: none;
|
132
132
|
}
|
133
133
|
|
134
134
|
figure {
|
@@ -240,4 +240,8 @@ video {
|
|
240
240
|
|
241
241
|
.hdoc-alert.alert-icon-warning code {
|
242
242
|
background-color: var(--htl-custom-block-warning-code-bg);
|
243
|
+
}
|
244
|
+
|
245
|
+
code {
|
246
|
+
font-size: 0.9em;
|
243
247
|
}
|
@@ -1,7 +1,20 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
|
4
|
+
<head>
|
5
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css" />
|
6
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/vs.min.css">
|
7
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
|
8
|
+
</head>
|
9
|
+
|
10
|
+
<body>
|
11
|
+
{{document_content}}
|
12
|
+
</body>
|
13
|
+
<script type="text/javascript">
|
14
|
+
|
15
|
+
// Using highlightAll method to
|
16
|
+
// highlight the code
|
17
|
+
hljs.highlightAll();
|
18
|
+
</script>
|
19
|
+
|
7
20
|
</html>
|