markdown-up 1.8.11 → 1.9.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/README.md +23 -3
- package/package.json +6 -7
package/README.md
CHANGED
|
@@ -65,8 +65,7 @@ single dependency (MarkdownUp). The "markdown-script" fenced code blocks are int
|
|
|
65
65
|
[CalcScript programming language](https://craigahobbs.github.io/calc-script/language/).
|
|
66
66
|
In addition to generating Markdown, you can fetch text and JSON resources, create SVG drawings,
|
|
67
67
|
parse CSV, render data tables, draw line charts, and more. For more information, see the
|
|
68
|
-
[MarkdownUp Library](https://craigahobbs.github.io/markdown-up/library/)
|
|
69
|
-
[CalcScript Library](https://craigahobbs.github.io/calc-script/library/).
|
|
68
|
+
[MarkdownUp Library](https://craigahobbs.github.io/markdown-up/library/).
|
|
70
69
|
|
|
71
70
|
For example:
|
|
72
71
|
|
|
@@ -111,6 +110,27 @@ endwhile
|
|
|
111
110
|
Click here to [see the example in action](https://craigahobbs.github.io/markdown-up/#url=DynamicMarkdownExample.md).
|
|
112
111
|
|
|
113
112
|
|
|
113
|
+
### The MarkdownUp Include Library
|
|
114
|
+
|
|
115
|
+
MarkdownUp provides some additional functionality that can be included at runtime. Consider the
|
|
116
|
+
following example with the unit test include library:
|
|
117
|
+
|
|
118
|
+
~~~
|
|
119
|
+
include 'https://craigahobbs.github.io/markdown-up/include/unittest.mds'
|
|
120
|
+
|
|
121
|
+
function testSanity()
|
|
122
|
+
unittestEquals(1 + 1, 2)
|
|
123
|
+
endfunction
|
|
124
|
+
unittestRunTest('testSanity')
|
|
125
|
+
|
|
126
|
+
unittestReport()
|
|
127
|
+
~~~
|
|
128
|
+
|
|
129
|
+
See the
|
|
130
|
+
[MarkdownUp Include Library](https://craigahobbs.github.io/markdown-up/library/include.html)
|
|
131
|
+
documentation for more information on the available include libraries.
|
|
132
|
+
|
|
133
|
+
|
|
114
134
|
### Debug Mode
|
|
115
135
|
|
|
116
136
|
Debug mode enables logging output using the
|
|
@@ -131,8 +151,8 @@ To turn on debug mode, click the debug button in the MarkdownUp menu in the uppe
|
|
|
131
151
|
|
|
132
152
|
- [MarkdownUp Application Examples](https://craigahobbs.github.io/#url=MarkdownUpApplications.md)
|
|
133
153
|
- [The CalcScript Language](https://craigahobbs.github.io/calc-script/language/)
|
|
134
|
-
- [The CalcScript Library](https://craigahobbs.github.io/calc-script/library/)
|
|
135
154
|
- [The MarkdownUp Library](https://craigahobbs.github.io/markdown-up/library/)
|
|
155
|
+
- [The MarkdownUp Include Library](https://craigahobbs.github.io/markdown-up/library/include.html)
|
|
136
156
|
|
|
137
157
|
|
|
138
158
|
## The MarkdownUp Package
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "markdown-up",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.9.1",
|
|
5
5
|
"description": "MarkdownUp is a Markdown viewer",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"markdown",
|
|
@@ -19,20 +19,19 @@
|
|
|
19
19
|
"lib/**/*"
|
|
20
20
|
],
|
|
21
21
|
"scripts": {
|
|
22
|
-
"test": "
|
|
22
|
+
"test": "node --test test/"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"calc-script": "~1.4",
|
|
26
26
|
"element-model": "~1.1",
|
|
27
|
-
"markdown-model": "~1.
|
|
27
|
+
"markdown-model": "~1.8",
|
|
28
28
|
"schema-markdown": "~1.2",
|
|
29
|
-
"schema-markdown-doc": "~1.
|
|
29
|
+
"schema-markdown-doc": "~1.6"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"ava": "~5.2",
|
|
33
32
|
"c8": "~7.13",
|
|
34
|
-
"eslint": "~8.
|
|
33
|
+
"eslint": "~8.40",
|
|
35
34
|
"jsdoc": "~4.0",
|
|
36
|
-
"jsdom": "~
|
|
35
|
+
"jsdom": "~22.0"
|
|
37
36
|
}
|
|
38
37
|
}
|