Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Add docs
Browse files
app/scripts/README-TXT-EXPORT.md
CHANGED
|
@@ -5,13 +5,23 @@ This script exports the article to a simple text format suitable for book publis
|
|
| 5 |
## Usage
|
| 6 |
|
| 7 |
```bash
|
| 8 |
-
|
| 9 |
```
|
| 10 |
|
| 11 |
Or with custom filename:
|
| 12 |
|
| 13 |
```bash
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
```
|
| 16 |
|
| 17 |
## Output
|
|
@@ -65,7 +75,7 @@ Example:
|
|
| 65 |
```
|
| 66 |
Example:
|
| 67 |
```
|
| 68 |
-
Use the <ic>
|
| 69 |
```
|
| 70 |
|
| 71 |
#### LaTeX Formulas
|
|
|
|
| 5 |
## Usage
|
| 6 |
|
| 7 |
```bash
|
| 8 |
+
yarn export:txt
|
| 9 |
```
|
| 10 |
|
| 11 |
Or with custom filename:
|
| 12 |
|
| 13 |
```bash
|
| 14 |
+
yarn export:txt -- --filename=my-article
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
By default, code blocks inside `<c>...</c>` are hard-wrapped to 80 characters per line. You can disable or configure this:
|
| 18 |
+
|
| 19 |
+
```bash
|
| 20 |
+
# Disable wrapping
|
| 21 |
+
yarn export:txt -- --wrap-code=false
|
| 22 |
+
|
| 23 |
+
# Change wrap width
|
| 24 |
+
yarn export:txt -- --code-width=100
|
| 25 |
```
|
| 26 |
|
| 27 |
## Output
|
|
|
|
| 75 |
```
|
| 76 |
Example:
|
| 77 |
```
|
| 78 |
+
Use the <ic>yarn install</ic> command to install dependencies.
|
| 79 |
```
|
| 80 |
|
| 81 |
#### LaTeX Formulas
|