hdoc-tools 0.7.24 → 0.7.26

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/hdoc-build.js CHANGED
@@ -55,9 +55,13 @@
55
55
  var frontmatter_content = "";
56
56
  md.use(mdfm, function (fm) {
57
57
  frontmatter_content = fm;
58
- console.log("FM:", fm);
58
+ });
59
+
60
+ const tips = require(__dirname + '/custom_modules/tips.js');
61
+ md.use(tips, {
62
+ links: true
59
63
  });
60
-
64
+
61
65
  // Render markdown into HTML
62
66
  var html_txt = md.render(md_txt.toString());
63
67
 
package/hdoc-serve.js CHANGED
@@ -6,7 +6,7 @@
6
6
  path = require('path'),
7
7
  hdoc = require(path.join(__dirname, 'hdoc-module.js')),
8
8
  stream = require('stream');
9
-
9
+
10
10
  const yaml = require('js-yaml');
11
11
  const mdfm = require('markdown-it-front-matter');
12
12
 
@@ -106,11 +106,15 @@
106
106
  // }
107
107
  // }
108
108
  });
109
-
109
+
110
110
  var frontmatter_content = "";
111
111
  md.use(mdfm, function (fm) {
112
112
  frontmatter_content = fm;
113
- console.log("FM:", fm);
113
+ });
114
+
115
+ const tips = require(__dirname + '/custom_modules/tips.js');
116
+ md.use(tips, {
117
+ links: true
114
118
  });
115
119
 
116
120
  // Render markdown into HTML
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.7.24",
3
+ "version": "0.7.26",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {