@digimakers/cli 0.1.4 → 0.2.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 +38 -0
- package/dist/frontend/browser/index.html +2 -2
- package/dist/frontend/browser/{main-H7Y7OQBK.js → main-H7IYEBRV.js} +47 -44
- package/dist/frontend/browser/styles-NFPCF54C.css +1 -0
- package/dist/index.js +27 -11
- package/package.json +1 -1
- package/dist/frontend/browser/styles-RVQRRKR6.css +0 -1
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# CLI tool for Digimaker
|
|
2
|
+
|
|
3
|
+
This mainly converts Digimaker's old .docx lessons to the new format in PDF form.
|
|
4
|
+
If you're not apart of Digimaker's team, this tool is of no use for you.
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
|
|
8
|
+
Install with npm
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @digimaker/cli
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Install script for powershell/windows
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
irm https://raw.githubusercontent.com/jenul-ferdinand/digimaker/main/install.ps1 | iex
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Install script for macos/linux/wsl
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
curl -fsSL https://raw.githubusercontent.com/jenul-ferdinand/digimaker/main/install.sh | bash
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## How to use it
|
|
27
|
+
|
|
28
|
+
Converting docx in the current directory.
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
digimaker convert
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Converting docx in some path, with a specified output location.
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
digimaker convert "path/to/folder" -o "path/to/output/folder"
|
|
38
|
+
```
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
<base href="/">
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
8
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
9
|
-
<style>:root{--offwhite-color:#f5f5f5}body{scrollbar-gutter:stable!important;margin:0;padding:0}@page{size:A4;margin:0}@media print{body{background:#fff!important}}</style><link rel="stylesheet" href="styles-
|
|
9
|
+
<style>:root{--offwhite-color:#f5f5f5;--codeblock-background-color:#2d2d2d}body{scrollbar-gutter:stable!important;margin:0;padding:0}@page{size:A4;margin:0}@media print{body{background:#fff!important}}</style><link rel="stylesheet" href="styles-NFPCF54C.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-NFPCF54C.css"></noscript></head>
|
|
10
10
|
<body>
|
|
11
11
|
<app-root></app-root>
|
|
12
|
-
<script src="polyfills-OEPZ4W45.js" type="module"></script><script src="main-
|
|
12
|
+
<script src="polyfills-OEPZ4W45.js" type="module"></script><script src="main-H7IYEBRV.js" type="module"></script></body>
|
|
13
13
|
</html>
|