nattoppet 2.1.0 → 2.1.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/package.json +5 -5
- package/readme.md +26 -3
- package/stdlib.js +1 -1
package/package.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"name": "nattoppet",
|
|
3
3
|
"description": "A tiny macro-based markup language for blogging",
|
|
4
4
|
"author": "Shiwei Zhang <ylxdzsw@gmail.com>",
|
|
5
|
-
"version": "2.1.
|
|
5
|
+
"version": "2.1.1",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"coffeescript": "^2.
|
|
7
|
+
"coffeescript": "^2.6.1",
|
|
8
8
|
"html-minifier": "^4.0.0",
|
|
9
|
-
"katex": "^0.
|
|
10
|
-
"less": "^4.1.
|
|
11
|
-
"marked": "^
|
|
9
|
+
"katex": "^0.15.0",
|
|
10
|
+
"less": "^4.1.2",
|
|
11
|
+
"marked": "^4.0.10"
|
|
12
12
|
},
|
|
13
13
|
"bin": {
|
|
14
14
|
"nattoppet": "./nattoppet.js",
|
package/readme.md
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
nattoppet
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
-
A tiny markup language and several themes for making documents
|
|
4
|
+
A tiny markup language and several themes for making documents, slides, or web apps as single-file bundled html or
|
|
5
|
+
executable.
|
|
5
6
|
|
|
6
|
-
### Usage
|
|
7
|
+
### Usage
|
|
8
|
+
|
|
9
|
+
compile a nattoppet file:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
$ npm exec nattoppet in.ymd > out.html
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
compile a nattoppet file but don't minimize (for debugging):
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
$ npm exec nattoppet in.ymd --dev > out.html
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
watch a nattoppet file and rebuild it whenever it changes; open a browser to view the compiled page
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
$ npm exec nattoppet-dev in.ymd
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
build a double-clickable executable for the page
|
|
7
28
|
|
|
8
29
|
```
|
|
9
|
-
$
|
|
30
|
+
$ npm exec nattoppet-native init
|
|
31
|
+
$ (edit the metadata as needed)
|
|
32
|
+
$ npm exec nattoppet-native build in.ymd
|
|
10
33
|
```
|