sdocs-dev 1.4.2 → 1.6.0
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 +3 -3
- package/bin/sdocs-dev.js +1191 -66
- package/bin/sdocs-postinstall.js +27 -0
- package/package.json +7 -4
- package/public/sdocs-yaml.js +109 -9
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ SDocs is a lightweight, stateless markdown editor with live styling. Your entire
|
|
|
15
15
|
- **Share** — compress a document into a URL and share it with anyone (no server, no account)
|
|
16
16
|
- **Export** — PDF, Word (.docx), raw `.md`, or styled `.md` with front matter
|
|
17
17
|
|
|
18
|
-
Everything runs client-side. The server is
|
|
18
|
+
Everything runs client-side. The server is a small Node.js script that serves static files. The hosted instance at sdocs.dev counts anonymous visits (no IPs, no tracking IDs) which you can see at [sdocs.dev/analytics](https://sdocs.dev/analytics); self-hosted and CLI use never phone home.
|
|
19
19
|
|
|
20
20
|
## CLI
|
|
21
21
|
|
|
@@ -57,7 +57,7 @@ Styles are stored as [YAML front matter](https://jekyllrb.com/docs/front-matter/
|
|
|
57
57
|
### Setup
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
|
-
git clone https://github.com/
|
|
60
|
+
git clone https://github.com/espressoplease/SDocs.git
|
|
61
61
|
cd SDocs
|
|
62
62
|
npm install
|
|
63
63
|
```
|
|
@@ -97,7 +97,7 @@ sdoc share README.md
|
|
|
97
97
|
### Project structure
|
|
98
98
|
|
|
99
99
|
```
|
|
100
|
-
server.js # Node.js static file server
|
|
100
|
+
server.js # Node.js static file server
|
|
101
101
|
bin/sdocs-dev.js # CLI entry point
|
|
102
102
|
public/
|
|
103
103
|
index.html # Single HTML file (markup only)
|