@sullux/markdown-docs 1.0.6 → 1.0.7
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/site.js +1 -1
- package/package.json +2 -2
package/lib/site.js
CHANGED
|
@@ -53,7 +53,7 @@ const generateSite = (options = {}) => {
|
|
|
53
53
|
const rawMd = fs.readFileSync(file.fullPath, 'utf8')
|
|
54
54
|
const ast = parse(rawMd)
|
|
55
55
|
const toc = extractToc(ast)
|
|
56
|
-
const rawHtml = markdownToHtml(
|
|
56
|
+
const rawHtml = markdownToHtml(ast)
|
|
57
57
|
const contentHtml = rewriteMarkdownLinks(rawHtml)
|
|
58
58
|
const relHtmlPath = normalizeHtmlPath(file.relPath)
|
|
59
59
|
const outHtmlPath = path.join(config.output, relHtmlPath)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sullux/markdown-docs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "A zero-dependency, local-first static documentation site generator compiling GitBook-style Markdown docs.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@sullux/markdown-compiler": "^1.0.2",
|
|
37
|
-
"@sullux/markdown-html": "^1.0.
|
|
37
|
+
"@sullux/markdown-html": "^1.0.2"
|
|
38
38
|
}
|
|
39
39
|
}
|