honkit 6.2.0 → 6.2.1
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/lib/api/encodeGlobal.js +2 -2
- package/package.json +8 -8
package/lib/api/encodeGlobal.js
CHANGED
|
@@ -100,7 +100,7 @@ function encodeGlobal(output) {
|
|
|
100
100
|
*/
|
|
101
101
|
renderBlock: function (type, text, options) {
|
|
102
102
|
const parser = parsers_1.default.get(type);
|
|
103
|
-
return parser.parsePage(text, options).
|
|
103
|
+
return parser.parsePage(text, options).then((result) => result.content);
|
|
104
104
|
},
|
|
105
105
|
/**
|
|
106
106
|
Render an inline text (markdown/asciidoc)
|
|
@@ -112,7 +112,7 @@ function encodeGlobal(output) {
|
|
|
112
112
|
*/
|
|
113
113
|
renderInline: function (type, text, options) {
|
|
114
114
|
const parser = parsers_1.default.get(type);
|
|
115
|
-
return parser.parseInline(text, options).
|
|
115
|
+
return parser.parseInline(text, options).then((result) => result.content);
|
|
116
116
|
},
|
|
117
117
|
template: {
|
|
118
118
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "honkit",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.1",
|
|
4
4
|
"description": "HonKit is building beautiful books using Markdown.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"git",
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
"send": "^0.19.2",
|
|
72
72
|
"tiny-lr": "^1.1.1",
|
|
73
73
|
"tmp": "0.2.4",
|
|
74
|
-
"@honkit/asciidoc": "6.2.
|
|
75
|
-
"@honkit/honkit-plugin-
|
|
76
|
-
"@honkit/honkit-plugin-
|
|
77
|
-
"@honkit/honkit-plugin-theme-default": "6.2.
|
|
78
|
-
"@honkit/
|
|
79
|
-
"@honkit/
|
|
74
|
+
"@honkit/asciidoc": "6.2.1",
|
|
75
|
+
"@honkit/honkit-plugin-fontsettings": "6.2.1",
|
|
76
|
+
"@honkit/honkit-plugin-highlight": "6.2.1",
|
|
77
|
+
"@honkit/honkit-plugin-theme-default": "6.2.1",
|
|
78
|
+
"@honkit/html": "6.2.1",
|
|
79
|
+
"@honkit/markdown-legacy": "6.2.1"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@relmify/jest-serializer-strip-ansi": "^1.0.2",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"object-path": "^0.11.8",
|
|
89
89
|
"rimraf": "^6.0.1",
|
|
90
90
|
"typescript": "^5.6.2",
|
|
91
|
-
"@honkit/internal-test-utils": "6.2.
|
|
91
|
+
"@honkit/internal-test-utils": "6.2.1"
|
|
92
92
|
},
|
|
93
93
|
"scripts": {
|
|
94
94
|
"build": "tsc -p .",
|