lewtun HF Staff commited on
Commit
3d3729c
·
1 Parent(s): a303bea
Files changed (1) hide show
  1. app/scripts/README-TXT-EXPORT.md +13 -3
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
- npm run export:txt
9
  ```
10
 
11
  Or with custom filename:
12
 
13
  ```bash
14
- node scripts/export-txt.mjs --filename=my-article
 
 
 
 
 
 
 
 
 
 
15
  ```
16
 
17
  ## Output
@@ -65,7 +75,7 @@ Example:
65
  ```
66
  Example:
67
  ```
68
- Use the <ic>npm install</ic> command to install dependencies.
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