@learnpack/learnpack 5.0.278 → 5.0.279
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 +1 -1
- package/src/utils/export/epub.ts +5 -5
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@learnpack/learnpack",
|
3
3
|
"description": "Seamlessly build, sell and/or take interactive & auto-graded tutorials, start learning now or build a new tutorial to your audience.",
|
4
|
-
"version": "5.0.
|
4
|
+
"version": "5.0.279",
|
5
5
|
"author": "Alejandro Sanchez @alesanchezr",
|
6
6
|
"contributors": [
|
7
7
|
{
|
package/src/utils/export/epub.ts
CHANGED
@@ -333,11 +333,11 @@ async function processExercises(
|
|
333
333
|
|
334
334
|
// Convert markdown to HTML
|
335
335
|
console.log("Converting markdown file:", relativeFilePath);
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
336
|
+
// const htmlFileName = entry.name.replace(/\.(md|markdown)$/, ".html");
|
337
|
+
const htmlPath = path.join(
|
338
|
+
outputDir,
|
339
|
+
relativeFilePath.replace(/\.(md|markdown)$/, ".html")
|
340
|
+
);
|
341
341
|
|
342
342
|
console.log("HTML output path:", htmlPath);
|
343
343
|
mkdirp.sync(path.dirname(htmlPath));
|